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 'like '%\xE6\xB3\xB0\xE5\x9B\xBD\xE6\xB5\xB7\xE5\x85\xB3%' and to_days('2026-03-1' at line 1 select * from ***_ecms_live where like '%泰国海关%' and to_days('2026-03-13 16:34:42')=to_days(start_time) order by newstime ASC limit 100