do you means you could not run mysql in command line or cannot run it in php?
try to find the path of mysql.sock in your computer by
find / -name "mysql.sock"
in the php.ini file
modify mysql.default_socket to the correct path.
try to find the path of mysql.sock in your computer by
find / -name "mysql.sock"
in the php.ini file
modify mysql.default_socket to the correct path.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货