ubuntu@VM-103-136-ubuntu:/etc$ mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) #mysql 服务器没有启动
ubuntu@VM-103-136-ubuntu:/etc$ whereis mysqld
mysqld: /usr/sbin/mysqld /usr/share/man/man8/mysqld.8.gz
ubuntu@VM-103-136-ubuntu:/etc$sudo /usr/bin/mysqld直接启动