Database connection failed. Error received from database was #1045: Access denied for user: 'root@localhost' (Using password: YES)
I've installed Mantis but have yet to be able to get a connection. I keep getting the error above, which indeed tells me that I configured mySQL wrong. I've been working at this for 3 hours, and have searched this site along with google, and can't figure out what I'm doing wrong. Any help would be greatly appreciated.
thx
Database connection keeps failing (error #1045) help!
Moderators: Developer, Contributor
If you have command-line access, you can check that mysql is accessible using the "mysql" command (e.g., "mysql -u root -p"). If the userid and password work, I'd check that the config_inc.php file is in place and correct. Otherwise, the userid and password are not set properly in mysql. (One usual cause of this is an invalid hostname parameter in the access tables).