MyBB Community Forums

Full Version: MyBB SQL Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So like a dummy I changed my database password and now I can't access my website. I get the following error:

SQL Error:
1045 - Access denied for user 'camj'@'xxx.xxx.xxx.xxx' (using password: YES)
Query:
[READ] Unable to connect to MySQL server

Obviously my website needs the old password to operate but I don't know what it was.
Can anyone help out?
put that new password in ./inc/config.php for $config['database']['password']

if that does not work then you can log into web host panel and get a new password.
if you can not log into web host panel then contact your web host

see http://docs.mybb.com/Help-Common_Error_Messages.html
Quote:SQL Error: 1045 - Access denied for user 'USERNAME'@'HOSTNAME' (using password: YES)
Query: [READ] Unable to connect to MySQL server
Information: This occurs when you are using MySQL and the database password is incorrect in ./inc/config.php.
To fix this, open ./inc/config.php and check the entry for $config['database']['password'].
If you do not know what needs to be here, contact your host provider.
Thank you!