Tell me more ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Since this morning, phpmyadmin is giving me the error message #2002 the server doesn't answer (or the connection to local Mysql is not well configured) and a message about control-use.

I'm disappointed it used to work until 2am last night and now the MySQL engine doesn't want to start (told me sometimes about sockets ..)

LAMPP is installed on a ubuntu 12.04

lm@Famou:~$ sudo service mysqld status
mysqld: unrecognized service    & lm@Famou:~$ sudo service mysqld start
mysqld: unrecognized service  : It never works with 'service' !!!

and

root@Famou:/opt/lampp# /opt/lampp/lampp restart
Stopping XAMPP for Linux 1.7.7...
XAMPP: Stopping Apache with SSL...
XAMPP: XAMPP-MySQL is not running.
XAMPP: Stopping ProFTPD...
XAMPP stopped.
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

is the result of restart lampp

share|improve this question
Edit your question with the output of sudo service mysqld status and sudo service mysqld start. – Phil Sep 21 '12 at 13:43
Oh, sorry. It's because I'm an idiot. Should be: sudo service mysql status and sudo service mysql start – Phil Sep 21 '12 at 13:49
no you are not ! the key word 'service' never gives me answer, my config seems to be strange – LOIC Sep 21 '12 at 13:52
Is someone available to help me ? Please ! Thanks – LOIC Sep 21 '12 at 14:11
Punting this to Server Fault where they'll likely close it as a dupe, which should give you an answer. – jcolebrand Sep 21 '12 at 15:10

closed as off topic by jcolebrand Sep 21 '12 at 15:10

Questions on Database Administrators Stack Exchange are expected to relate to database administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.