Alex Rivera | Logout

Couldn't start MySQL! while starting XAMPP

Asked 2012-09-20T06:50:38.803
13

I am new in Ubuntu, I installed XAMPP in my Ubuntu 10.04. When I start XAMPP it says MySQL couldn't start.

Here is my terminal ouput:

$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.0...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

And then as I go to http://localhost, I got stuck on the XAMPP splash-screen, nothing happens if I choose language.

Edit
Report

1 Answer

31

This Worked For me as a Charm. [I used Ubuntu 12.04 and Xampp]

sudo chmod 755 /opt/lampp/etc/my.cnf

sudo chmod -R 777 /opt/lampp/var/mysql

sudo chown -hR root:root /opt/lampp

& Now Start Your Xampp

answered 2013-07-22T06:05:36.137

Your Answer