Error in selecting database error:2002 error message Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) sql: select * from vocation_recommend where recommend_type = 'index' and orderby > 0 order by orderby asc,id desc