您的位置: 首页 > IT文章 > Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' 分类: IT文章 • 2022-08-28 19:34:48 方法:重启MySQL 在命令行执行: /etc/init.d/mysql start