1045 Error

General Error
SQL ERROR [ mysqli ]

Access denied for user ‘[deleted]’ (using password: YES) [1045]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.


this is the error I get for a working phpbb3 forum. I recently installed MAMP, PHP and PHPMyAdmin on my Mac, is this a consequence of this installation?
I’m not so tech savvy, so I don’t understand why this error suddenly popped up…

if you installed MAMP it would have reinstalled MySQL. it may have done two things a) overwritten an installed version that was already there and working for the phpbb3 forum, or you may have installed a root password that was running the phpbb3 forum that is different than the one before.

Does it help if I uninstall MAMP and MySQL?

I don’t know how I’ve done it, because I didn’t intend to link those two. I needed to install MAMP etc to learn PHP (I downloaded a PHP course), but it didn’t work and I didn’t understand a thing of it.

How can I fix this then?

guelphdad, do you know how I can solve this?

I tried to change the password of the user of the phpbb3 db, but it says the old password doesn’t match. The password in the config.php file is wrong, that’s the cause of the error.
Is there a way to get the correct password?

see the mysql manual for RESET ROOT PASSWORD

Hi guelphdad,

I contacted my host and he helped me out. The forum is up and running again.