Forum Moderators: open
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'username'@'localhost' (using password: YES) in /home/username/public_html/news.php on line 9
Access denied for user 'username'@'localhost' (using password: YES)
What does it mean in lay mans term and how can i fix it?
[edited by: volatilegx at 7:04 pm (utc) on Aug. 16, 2006]
[edit reason]
[1][edit reason] no URLs please - genericized username [/edit] [/edit][/1]
The one encoded into the script is not correct. You can either edit the script(s) or add a new user and password to your database. You can find out the username and password being used by opening the script in a text editor. Then, hopefully, your site has a database management interface (like phpMyAdmin) where you can add a new user.
You may even have to create a new database, based upon the schema and data of the old one.