Database connection with MAMP
-
Hello everyone,
look, I’m sure that my question has already been asked a trillion times on the web, but being a complete newbie on database management, php and all of that, I’m quite lost between this myriad of solutions. So please bear with me, I promise I won’t bother you for long.
My error message comes when I try to install WordPress. I have the famous “Error establishing a database connection” that comes after I am prompted to enter my credentials. Using MAMP for the Apache / MySQL side of the thingie, I tried to reset my password using the query command “SET PASSWORD FOR”. However, now that I’ve changed it, it won’t let me access anymore, saying that “phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server”.
So here are my two questions : First of all, how can I modify my admin credentials to have access again to phpMyAdmin? I’ve been trying to tinker through the files of my MAMP installation, but I found nothing useful. And after that, what alternative do I have to fix my original issue, which means the error with the database connection?
Thanks in advance!
- The topic ‘Database connection with MAMP’ is closed to new replies.