bigpacific — 2012-02-29T15:09:26-05:00 — #1
Had a long and fruitless chat with Hostgator (normally very good) about why the following error is showing up in the footer:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'space'@'localhost' (using password: YES) in /home/space/public_html/wp-content/themes/synchro-theme/page.php on line 240
Could not connect:
I have not changed page.php recently. I did however work with tech support about 6 weeks ago on the mysql db ('space')
I think it is due to a change in the password in the php_myadmin but don't want to make the problem worse. Should I change the password and ensure it's the same in both places to see if that gets rid of the error?
carlhenson — 2012-03-01T01:59:17-05:00 — #2
There are two possibilities:
- Wrong user
- Wrong password
Ensure that the user is correct. Keep in mind the use of apostrophes. Are you sure it is 'space'@'localhost' ? Or it is 'space@localhost' ? Or it was really just 'localhost' or 'space' .
Otherwise, check the password.