Page 1 of 1

Error: "Another mysql daemon is already running"

PostPosted: 24. July 2009 18:28
by deejay
When I start lampp, I get the message "Another mysql daemon is already running"

I researched this and it seems that another mysql service is installed (by ubuntu?) and runs on startup.

I can stop this daemon using: sudo /etc/init.d/mysqld stop

After doing this, I can start lampp okay and everything seems fine.

My question is: How can I disable or remove this first "non lampp" sql from starting. I am a newbie so precise instructions are much appreciated.

Thanks

Re: Error: "Another mysql daemon is already running"

PostPosted: 25. July 2009 00:35
by deejay
I found a good solution that works if you have two sql's installed:

Open and Applications-->Accessories-->Terminal and type:

Code:

update-rc.d -f mysql remove

This will stop the other instance of mysql you installed from starting.

(thanks to Cariboo in the Ubuntu forums!)