乐趣区

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

执行 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

退出移动版