Page 1 of 1

XAMPP: Couldn't start MySQL!

PostPosted: 22. July 2011 14:44
by Gilrez
XAMPP: Couldn't start MySQL!


Hello fellow Linux members
*** I have Ubuntu 11.4***

After downloading XAMPP, I went to my Downloads. I then went to the Folder (xampp-linux-1.7.4.tar.gz) and right clicked on it. The options window opened, and I selected ‘Extract Here’! after doing so a Folder called lampp appeared.

The next step I did was open my Terminal and typed ( sudo nautilus / ). I pressed Enter and a window with a bunch Folders opened up. I selected, and opened the opt Folder. I then dragged the lampp Folder to the opt Folder.

The lampp Folder is now in the opt Folder. I right clicked on the lampp Folder and selected Properties, and then the Permissions tap. I set all 3 Folder access: -to- Create delete files and all 3 File access: -to- Read and write. I checked Allow executing file as program, and Apply Permissions to Enclosed Files button, then closed.

I went back to Terminal and typed ( sudo /opt/lampp/lampp start ) and pressed Enter. Everything is working fine execpt MySQL!

Starting XAMPP for Linux 1.7.4...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

I don’t know if it makes any difference but I do have Netbeans IDE 7.0 php installed and I’ve only worked on html and CSS on it.

I appreciate any help that anyone can give me!

Thank You!

Re: XAMPP: Couldn't start MySQL!

PostPosted: 09. September 2011 21:14
by brice
to identify mysql error messages you can read file <hostname>.err
by default file is located in directory : /opt/lampp/var/mysql

Re: XAMPP: Couldn't start MySQL!

PostPosted: 17. October 2011 20:39
by willemgouws
I am new to XAMPP on Ubuntu 11.04 and also have this issue

"sudo /opt/lampp/lampp start

Starting XAMPP for Linux 1.7.7...
XAMPP: XAMPP-Apache is already running.
XAMPP: Another MySQL daemon is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started."

:shock:

Re: XAMPP: Couldn't start MySQL!

PostPosted: 17. October 2011 23:39
by JonB
this means quite simply that MySQL is already installed.

XAMPP: Another MySQL daemon is already running.


read this post to find out how to track this down
viewtopic.php?f=17&t=48559#p186526

Good Luck
8)

Re: XAMPP: Couldn't start MySQL!

PostPosted: 27. October 2011 10:01
by jamesmartin
JonB wrote:this means quite simply that MySQL is already installed.

XAMPP: Another MySQL daemon is already running.


read this post to find out how to track this down
http://community.apachefriends.org/f/viewtopic.php?f=17&t=48559#p186526

Good Luck
8)


I agree. It certainly looks like you have regular MySQL running already, which is stopping LAMP's MySQL from operating too. You can stop the existing MySQL by entering the following:

sudo /etc/init.d/mysql stop

In my opinion, the whole problem is caused because you are using LAMP, which does not register that it has installed anything. This means that when others apps want to use MySQL they will simply go ahead and install it, thereby creating conflict.

Re: XAMPP: Couldn't start MySQL!

PostPosted: 17. March 2012 12:53
by vindesh
XAMPP: Couldn't start MySQL!
mysql server's socket is not correctly configured

I have resolve this problem
follow me
1. RUN sudo chmod -R 777 /opt/lampp
2. RUN sudo chmod 755 /opt/lampp/phpmyadmin
3. RUN sudo chmod 644 /opt/lampp/phpmyadmin/config.inc.php