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 '%KMUT\xE5\x8C\x97\xE6\x9B\xBC\xE8\xB0\xB7%' and to_days('2026-05-03 07:21:' at line 1 select * from ***_ecms_live where like '%KMUT北曼谷%' and to_days('2026-05-03 07:21:15')=to_days(start_time) order by newstime ASC limit 100