kkhipple wrote:I also get the same error. however i was never given the opportunity to change the root password. so i dont know what the default is.
can anyone help?
kkhipple wrote:i was able to get this working by launching MAMP and going to Preferences-> Port. And changing the MySQL port to 3306. This worked like a charm for me.
Maybe this can help someone.
perenouel wrote:killall -9 mysqld
I just installed MAMP, and got the same error. Then I checked the index.php file under the /MAMP/bin/mamp/ folder, and found that it hard code the msyql connection username/password as root/root. If you changed the default root password (of course for security), you can modify the code in index.php to test MAMP. It worked for me.
I have got exactly the same problem. I tried all the tricks you gave on this forum, and it still doesn't work.
The two lights are now green (Apache and MySQL) when I start MAMP, but the same message 'Error: Could not connect to MySQL server!' comes when I open the window.
Does some have another idea ?
Users browsing this forum: Yahoo [Bot] and 6 guests