Ubuntu – How to activate MySQL Database Server

MySQLxampp

I have a problem with my xampp that's installed on Ubuntu 12.04 64-bit.

After successfully installing my xampp server, I do get access to the lampp server which further indicates that the mysql database is running.

But when I click the xampp status, it's indicated the mysql database is deactivated. Also my phpmyadmin show this error:The server is not responding (or the local server's socket is not correctly configured).

This has been the problem with me for the past 72 hours and I am still struggling with how to make it activated?

Can anyone help me with this?

When I click Start,

enter image description here

Then,
enter image description here

Best Answer

Try to start mysql server through command line.

sudo service mysql start

or

sudo /etc/init.d/mysql start
Related Question