XAMPP: Another MySQL daemon is already running.

Problems with the Linux version of XAMPP, questions, comments, and anything related.

XAMPP: Another MySQL daemon is already running.

Postby alforddm » 01. February 2011 18:51

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.
alforddm
 
Posts: 2
Joined: 01. February 2011 18:39

Re: XAMPP: Another MySQL daemon is already running.

Postby ZumJ » 08. February 2011 15:32

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
ZumJ
 
Posts: 12
Joined: 18. January 2011 04:03

Re: XAMPP: Another MySQL daemon is already running.

Postby alforddm » 08. February 2011 15:47

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
alforddm
 
Posts: 2
Joined: 01. February 2011 18:39

Re: XAMPP: Another MySQL daemon is already running.

Postby seoux » 27. October 2011 12:13

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?
seoux
 
Posts: 2
Joined: 27. October 2011 11:57
Operating System: linux-ubuntu

Re: XAMPP: Another MySQL daemon is already running.

Postby JonB » 27. October 2011 13:36

@ 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
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 45 guests