I was trying to make a backup of my database and changed the root and user passwords.
Then I went to my site via SSH and got this error...
mysqldump -u cha -p 7eS>-PYc9wDY cha_ar > cha_DBbackupfile.sql
Enter password:
mysqldump: Got error: 1045: Access denied for user 'cha'@'localhost' (using password: YES) when trying to connect
Now I get these errors when going to http://www.cha.com. What can I do? Thanks. Errors below.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'cha_arcade'@'localhost' (using password: YES) in /home/cha/public_html/functions.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 29
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'cha_arcade'@'localhost' (using password: YES) in /home/cha/public_html/functions.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 30
Cannot select database. Please check back later.
Can anyone tell what I can do? Thanks.
Changed DB root and user PW - Getting errors
Moderator: General Moderators
-
oilcanharry
- Forum Newbie
- Posts: 5
- Joined: Mon Jan 12, 2009 8:39 am
-
oilcanharry
- Forum Newbie
- Posts: 5
- Joined: Mon Jan 12, 2009 8:39 am
Re: Changed DB root and user PW - Getting errors
Never mind. I needed to edit the config.php file and now I'm back in business.