mysql报错ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)时间:2022-06-05 22:52:25https://blog.csdn.net/hjf161105/article/details/78850658 使用chmod命令时,要小心使用chmod 755 文件和 chmod 755 ./文件(同一目录)不同。