无法通过socket连接本地MySQL服务器问题

无法通过socket连接本地MySQL服务器问题

有人遇到过这个问题吗?

root@spmmktlxcrm002:~# tail -f /var/log/upstart/mysql.log

Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
200722 11:16:11 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
200722 11:16:11 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead.
200722 11:16:11 [Note] /usr/sbin/mysqld (mysqld 5.5.43-0ubuntu0.14.04.1-log) starting as process 6213 ...
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

相关内容