Error: Could not connect to MySQL server!

Report any found bug here. We are grateful for any useful clues.

Moderator: severin

alexia90
Posts: 1
Joined: Tue 23. Apr 2013, 10:04

Re: Error: Could not connect to MySQL server!

Post by alexia90 » Tue 23. Apr 2013, 13:28

I am also facing same problem


flake wrote:Okay, so here is what makes me lose my hair:

MAMP won't start the MySQL server.
The mysql error log gives me this:
130125 17:39:32 [ERROR] /Applications/MAMP/Library/bin/mysqld: unknown option '--skip-locking'
I tried running ...MAMP/bin/startMysql.sh but that won't work either.
Apache runs just fine on port 80 but mysql won't start on 3306. It won't run on 8889 neither and even apache doesn't start on 8888.
There's no mysqld running; ps aux | grep my | grep -v grep and lsof do not return anything.

What I've tried so far and didn't help:
Reinstalling MAMP (several times)
Reinstalling MAMP after using the uninstaller
Run MAMP's Apache and XAMPP's MySQL
Start MySQL manually

I use the current version of MAMP (2.1.1) under Mac OSX 10.6.8. I also have XAMPP installed (but not running).

aignaciodc
Posts: 2
Joined: Tue 28. May 2013, 17:08

Re: Error: Could not connect to MySQL server!

Post by aignaciodc » Tue 28. May 2013, 17:12

Same problem.. Well, more accurately, the green light isn't coming on for MySQL Server. That's all I know.
The only thing that happened is that when I came home my computer was OFF even though I'd left it on, asleep.
I had to restart it. Does that effect anything? Thanks

aignaciodc
Posts: 2
Joined: Tue 28. May 2013, 17:08

Re: Error: Could not connect to MySQL server!

Post by aignaciodc » Tue 28. May 2013, 17:12

Same problem.. Well, more accurately, the green light isn't coming on for MySQL Server. That's all I know.
The only thing that happened is that when I came home my computer was OFF even though I'd left it on, asleep.
I had to restart it. Does that effect anything? Thanks

Ganapoes
Posts: 4
Joined: Wed 16. Nov 2011, 08:24
Contact:

Re: Error: Could not connect to MySQL server!

Post by Ganapoes » Wed 31. Jul 2013, 08:09

Just repair your permissions with Disk Utility, and restart your clomputer. :)

imagevo
Posts: 2
Joined: Tue 3. Sep 2013, 13:27

Re: Error: Could not connect to MySQL server!

Post by imagevo » Tue 3. Sep 2013, 13:32


imagevo
Posts: 2
Joined: Tue 3. Sep 2013, 13:27

Re: Error: Could not connect to MySQL server!

Post by imagevo » Tue 3. Sep 2013, 13:32


jojo
Posts: 2
Joined: Thu 12. Sep 2013, 21:24

Re: Error: Could not connect to MySQL server!

Post by jojo » Fri 13. Sep 2013, 10:34

Then i reinstalled Mysql server on my system and restore the data back in it and then the problem was solved.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest