zaiful
Dec 23 2008, 04:38 AM
I try to uploads some my files. My database name dinaskehutanankampar_dishutkampar and username dinaskehutanankampar_zaiful. When I try to connect to the intenet width name dinaskehutanankampar.uuuq.com I always receive message Warning: mysql_query() [function.mysql-query]: Access denied for user 'vhostswww'@'localhost' (using password: NO). and Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/uuuq.com/d/i/n/dinaskehutanankampar/htdocs/kanan.php. why ? Tq
swordz
Dec 28 2008, 07:47 PM
Several problems.
1 - The maximum database and user name length is 16. Your site name alone is 20. The solution to this is to create a new account - e.g dina.uuuq.com, and set up the database etc on there. Then connect to it from your current site.
2 - I also don't think you've set up the files correctly - as you're trying to connect with a username of vhostswww and no password - you need to change that before it will work.
swordz