Error! mysql_pconnect() Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) MySQL Query Error: SELECT 'x' FROM b_agent WHERE ACTIVE = 'Y' AND NEXT_EXEC <= now() AND (DATE_CHECK IS NULL OR DATE_CHECK <= now()) LIMIT 1 []