Lost connection to MySQL server at 'reading initial communication packet', system error: 111ack! query failed :
  • errorno=2002
  • error=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
  • query= SELECT t1.sc_category, t1.sc_csdesc, t1.sc_cat_desc, t1.sc_subcat, t1.sc_cid, t1.sc_cimage, t1.sc_cimage_ext, t2.sc_ptitle, t2.sc_pid, t2.sc_display, t2.sc_pimage, t2.sc_pimage_ext FROM sc_cats t1 LEFT JOIN sc_prod t2 ON t1.feature_pid = t2.sc_pid WHERE t1.sc_subcat='no' AND t1.sc_cat_display = 'yes' ORDER BY t1.sc_category ASC