技术小黑屋

ERROR 2002 (HY000): Can't Connect to Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (2)

This works for me.

1
2
sudo systemctl start mysqld.service
sudo systemctl enable mysqld.service

Others

打开支付宝首页搜“519191173”领红包,领取大红包,一起薅羊毛!