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 '%ES\xE5\x8F\xA4\xE9\x9B\xB7\xE6\x89\x98\xE6\x96\xAF%' and to_days('2025-12' at line 1 select * from ***_ecms_live where like '%ES古雷托斯%' and to_days('2025-12-26 22:05:58')=to_days(start_time) order by newstime ASC limit 100