Quote:
Originally Posted by RayVega
Have a dedicated server with Godaddy running linux and apache with mysql. I'm trying to write a simple database app in PHP and consistently get:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'blahblah'@'localhost' (using password: YES) in /home/public_html/global/database.php on line 85
I've tried everything. Double checked everything, same response. I am positive the user is permissioned, it's my root user [Blocked here]. I've also created users specifically for this database and in all cases I get this message. it is making me CRAZY!
Anyone have suggestions, c'mon time to flex your programming muscle. Any help would be really appreciated.
|
1. you have the permissions fucked up even though you are positive they are correct
2. you have the wrong password
3. you are using the wrong host. localhost might not be the correct host to use(can also be a permission problem)