关于ubuntu:ERROR-2002-HY000-Cant-connect-to-local-MySQL-server

80次阅读

共计 175 个字符,预计需要花费 1 分钟才能阅读完成。

执行 mysql -u root -p,后果呈现了一下谬误

ERROR 2002 (HY000): Can't connect to local MySQL server through socket'/var/run/mysqld/mysqld.sock'(2"No such file or directory")

解决办法:
sudo apt-get install mysql-server

正文完
 0