/var/log/debug Apr 11 10:00:00 localhost /etc/init.d/mysql[18158]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Apr 11 10:00:00 localhost /etc/init.d/mysql[18158]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Apr 11 10:00:00 localhost /etc/init.d/mysql[18158]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Apr 11 10:00:00 localhost /etc/init.d/mysql[18158]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! /var/log/syslog Apr 11 09:10:50 localhost mysqld_safe[16543]: Installation of system tables failed! Apr 11 09:10:50 localhost mysqld_safe[16543]: Apr 11 09:10:50 localhost mysqld_safe[16543]: Examine the logs in /var/lib/mysql for more information. Apr 11 09:10:50 localhost mysqld_safe[16543]: You can try to start the mysqld daemon with: Apr 11 09:10:50 localhost mysqld_safe[16543]: /usr/sbin/mysqld --skip-grant & Apr 11 09:10:50 localhost mysqld_safe[16543]: and use the command line tool Apr 11 09:10:50 localhost mysqld_safe[16543]: /usr/bin/mysql to connect to the mysql Apr 11 09:10:50 localhost mysqld_safe[16543]: database and look at the grant tables: Apr 11 09:10:50 localhost mysqld_safe[16543]: Apr 11 09:10:50 localhost mysqld_safe[16543]: shell> /usr/bin/mysql -u root mysql Apr 11 09:10:50 localhost mysqld_safe[16543]: mysql> show tables Apr 11 09:10:50 localhost mysqld_safe[16543]: Apr 11 09:10:50 localhost mysqld_safe[16543]: Try 'mysqld --help' if you have problems with paths. Using --log Apr 11 09:10:50 localhost mysqld_safe[16543]: gives you a log in /var/lib/mysql that may be helpful. Apr 11 09:10:50 localhost mysqld_safe[16543]: Apr 11 09:10:50 localhost mysqld_safe[16543]: The latest information about MySQL is available on the web at Apr 11 09:10:50 localhost mysqld_safe[16543]: http://www.mysql.com Apr 11 09:10:50 localhost mysqld_safe[16543]: Please consult the MySQL manual section: 'Problems running mysql_install_db', Apr 11 09:10:50 localhost mysqld_safe[16543]: and the manual section that describes problems on your OS. Apr 11 09:10:50 localhost mysqld_safe[16543]: Another information source is the MySQL email archive. Apr 11 09:10:50 localhost mysqld_safe[16543]: Please check all of the above before mailing us! Apr 11 09:10:50 localhost mysqld_safe[16543]: And if you do mail us, you MUST use the /usr/bin/mysqlbug script! Apr 11 09:11:01 localhost mysqld_safe[16707]: started Apr 11 09:11:15 localhost /etc/init.d/mysql[16882]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Apr 11 09:11:15 localhost /etc/init.d/mysql[16882]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Apr 11 09:11:15 localhost /etc/init.d/mysql[16882]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Apr 11 09:11:15 localhost /etc/init.d/mysql[16882]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Apr 11 09:11:15 localhost /etc/init.d/mysql[16882]: