MySQL -uuser -ppass db
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
成都創(chuàng)新互聯(lián)專業(yè)為企業(yè)提供長泰網(wǎng)站建設、長泰做網(wǎng)站、長泰網(wǎng)站設計、長泰網(wǎng)站制作等企業(yè)網(wǎng)站建設、網(wǎng)頁設計與制作、長泰企業(yè)網(wǎng)站模板建站服務,十年長泰做網(wǎng)站經(jīng)驗,不只是建網(wǎng)站,更提供有價值的思路和整體網(wǎng)絡服務。
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@]