HY000 ERROR 2002 : Can't connect to local MySQL server through socket 'tmpmysql.sock' (2)

【HY000 ERROR 2002 : Can't connect to local MySQL server through socket 'tmpmysql.sock' (2)】

HY000 ERROR 2002 : Can't connect to local MySQL server through socket 'tmpmysql.sock' (2)

文章插图
错误2002(hy 000):Can# 039;t通过套接字连接到本地MySQL服务器 # 039;tmpmysql.sock# 039(2)错误2002(hy 000):Can# 039;t通过套接字连接到本地MySQL服务器 # 039;tmpmysql.sock# 039(2)简介:配置文件在咨询检查各种方法后,生成mysql.socket,但仍然提示错误大小为0 。解决方法:尝试通过TCP连接:ltbrgtmysql -uroot -p - protocol=tcpltbrg