XAMPP: Couldn't start MySQL!

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

XAMPP: Couldn't start MySQL!

Postby Gilrez » 22. July 2011 14:44

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!
Gilrez
 
Posts: 1
Joined: 22. July 2011 13:38

Re: XAMPP: Couldn't start MySQL!

Postby brice » 09. September 2011 21:14

to identify mysql error messages you can read file <hostname>.err
by default file is located in directory : /opt/lampp/var/mysql
brice
 
Posts: 1
Joined: 09. September 2011 20:54

Re: XAMPP: Couldn't start MySQL!

Postby willemgouws » 17. October 2011 20:39

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:
willemgouws
 
Posts: 1
Joined: 17. October 2011 20:25
XAMPP Version: 5.6.3
Operating System: Ubuntu 11.04

Re: XAMPP: Couldn't start MySQL!

Postby JonB » 17. October 2011 23:39

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

Re: XAMPP: Couldn't start MySQL!

Postby jamesmartin » 27. October 2011 10:01

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.
http://www.bargainhotelfinder.com
http://www.isaduia-felony.com
jamesmartin
 
Posts: 1
Joined: 27. October 2011 09:47
Location: London, UK
XAMPP Version: 5.6.3
Operating System: Windows XP Pro SP3

Re: XAMPP: Couldn't start MySQL!

Postby vindesh » 17. March 2012 12:53

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
vindesh
 
Posts: 1
Joined: 17. March 2012 12:44
XAMPP Version: 1.8.3-3
Operating System: UBUNTU


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests