Home >Database >Mysql Tutorial >Ubuntu停Can't connect to local MySQL server through socket

Ubuntu停Can't connect to local MySQL server through socket

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 16:14:571783browse

Ubuntu下Can't connect to local MySQL server through socket ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 1.mysql_install_db 2.按照提示安装未安装的包

Ubuntu下Can't connect to local MySQL server through socket
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

1.mysql_install_db
2.按照提示安装未安装的包
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn