Time : 21:00:02 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Raw SQL : SELECT * FROM rt_service_providers WHERE status='1' AND city LIKE 'mumbai' ORDER BY last_seen DESC LIMIT Time : 15:00:02 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Raw SQL : SELECT * FROM rt_service_providers WHERE status='1' AND city LIKE 'mumbai' ORDER BY last_seen DESC LIMIT Time : 14:00:03 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Raw SQL : SELECT * FROM rt_service_providers WHERE status='1' AND city LIKE 'mumbai' ORDER BY last_seen DESC LIMIT Time : 13:00:02 SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Raw SQL : SELECT * FROM rt_service_providers WHERE status='1' AND city LIKE 'mumbai' ORDER BY last_seen DESC LIMIT Time : 11:17:39 Retry 1 times Time : 11:17:39 SQLSTATE[HY000]: General error: 2006 MySQL server has gone away Raw SQL : SELECT * FROM rt_service_providers WHERE status='1' AND android_device_id IS NOT NULL ORDER BY last_seen DESC LIMIT 5200,400 Time : 11:16:40 Retry 1 times Time : 11:16:40 SQLSTATE[HY000]: General error: 2006 MySQL server has gone away Raw SQL : SELECT * FROM rt_service_providers WHERE status='1' AND android_device_id IS NOT NULL ORDER BY last_seen DESC LIMIT 22400,400