Page 1 of 1

XAMPP: Another MySQL daemon is already running.

PostPosted: 01. February 2011 18:51
by alforddm
I'm running kubuntu. I tried using tasksel to install lampp but decided to go back to xampp. When I tried use tasksel to uninstall lamp it uninstalled my kubuntu desktop so I had to reinstall the desktop. Now I get the mysql error when I try to start xampp.

What I have tried

sudo apt-get remove --purge mysql-server
Package mysql-server is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

sudo /etc/init.d/mysql stop
sudo: /etc/init.d/mysql: command not found

I also tried to reinstall xampp with the same results.


The following packages are installed...

libmysqlclient16
libqt4-sql-mysql
mysql-client-core-5.1
mysql-common
mysql-server-core.5.1

However, when I go to uninstall any of them it warns me that my kde desktop is going to be uninstalled.

Suggestions? Before I tried to install using tasksel everything worked.

Re: XAMPP: Another MySQL daemon is already running.

PostPosted: 08. February 2011 15:32
by ZumJ
alforddm wrote:I'm running kubuntu. I tried using tasksel to install lampp but decided to go back to xampp. When I tried use tasksel to uninstall lamp it uninstalled my kubuntu desktop so I had to reinstall the desktop. Now I get the mysql error when I try to start xampp.

What I have tried

sudo apt-get remove --purge mysql-server
Package mysql-server is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

sudo /etc/init.d/mysql stop
sudo: /etc/init.d/mysql: command not found

I also tried to reinstall xampp with the same results.


The following packages are installed...

libmysqlclient16
libqt4-sql-mysql
mysql-client-core-5.1
mysql-common
mysql-server-core.5.1

However, when I go to uninstall any of them it warns me that my kde desktop is going to be uninstalled.

Suggestions? Before I tried to install using tasksel everything worked.



If you're still working on this, I hope you get it sorted out soon. I don't know anything for sure, but I would guess you could uninstall mysql-server-core.5.1 without breaking everything. I know I had xampp installed on an Ubuntu desktop, and uninstalled a mysql-server package. I don't think it was the same as this mysql-server-core.5.1, but perhaps worth a try?

Good luck!
John

Re: XAMPP: Another MySQL daemon is already running.

PostPosted: 08. February 2011 15:47
by alforddm
I never did get xampp running but found a good tutorial on setting up a regular lamp sever and was able to get things working.

Thank you for taking the time to reply

Re: XAMPP: Another MySQL daemon is already running.

PostPosted: 27. October 2011 12:13
by seoux
Hi there, I've got the same problem.

I cannot find mysql-server (or client) anywhere. The commonly recommended solution, i.e., stopping the servers and starting xampp give the following:

sudo /etc/init.d/mysql stop
sudo: /etc/init.d/mysql: command not found

I searched where else I might have mysql and found

/etc/mysql/

It appears that I have some configuration files.
I have been trying different solutions to get XAMPP and phpmyadmin working. (Including mysql-server-5.1 installation)
I think mysql-server-5.1 conflicted with XAMPP's mysql but it seems mysql-server-5.1 is not properly uninstalled although I do not see it.

Anyone knows a way out?

Re: XAMPP: Another MySQL daemon is already running.

PostPosted: 27. October 2011 13:36
by JonB
@ seoux -

Three things -

A. Create a new topic for YOUR issue

B. We do not know the Ubuntu version you are using (yes its important)

C. We don't know what the errors you are getting in XAMPP are...

To all - As I don't know the full situation, the next is an advisory -
Just for the record - you really can't run both a configured LAMP stack and XAMMP. Just like you really can't run standalone Windows installs of the components and XAMPP. Same reason - if you knew 'the why and how to', you wouldn't be asking...


Good Luck