mysql can't connect error about privilege----not root user
mysql -uuser -ppass db
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
when use root user,It is ok.Obviously, it is privilege problem.
Try to check the mysql.sock privelege. If it is ok, then check its father dir to check.
[@more@]声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。