Apache Server not working in MAMP
- by jasonaburton
Here's what I did before the problem started:
I was creating a database for a site that I am working on in phpMyAdmin. I wrote some code to try to connect to the database I just created and I couldn't connect. I assumed it might be because I needed a password to connect to the database, so I created a password for it. Immediately after I created the password phpMyAdmin kicked me out saying:
"#1045 - Access denied for user 'root'@'localhost' (using password: YES)"
"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."
I found the php.ini file and searched for where I could change the password to match the one I just made, but couldn't find where I needed to change it. So I decided to scrap the database and uninstall MAMP from my computer and reinstall it hoping it would just reset all the defaults and I could go on my merry way.
But now after reinstalling MAMP and trying to run the servers Apache won't start up and I have no idea why. One problem after another...
Any advice or helpful ideas?