1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
root@kmcs:/home/kmc# /etc/init.d/mysql start
...
/mysqladmin: connect to server at '\''localhost'\'' failed
error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (2)'\''
+ logger -p daemon.err -t /etc/init.d/mysql -i -p daemon.debug
Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!\n'
root@kmcs:/home/kmc# tail -66f /var/log/mysql.log
/usr/sbin/mysqld, Version: 5.5.43-0+deb7u1-log ((Debian)). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.5.43-0+deb7u1-log
root@kmcs:/home/kmc# ll /var/run/mysqld/
total 0
root@kmcs:/home/kmc# ps aux|grep mysql
root 8991 0.0 0.0 5644 520 pts/2 S+ 19:26 0:00 tail -66f /var/log/mysql.log
root 13706 0.0 0.0 7864 1956 pts/1 S+ 19:35 0:00 grep mysql |
Partager