MySql server answer #2002
        Posted  
        
            by 
                LOIC
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by LOIC
        
        
        
        Published on 2012-09-21T13:40:51Z
        Indexed on 
            2012/09/21
            15:41 UTC
        
        
        Read the original article
        Hit count: 331
        
untagged
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
© Server Fault or respective owner