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\x96\xAF\xE4\xBD\xA9\xE9\xBD\x90\xE4\xBA\x9A%' and to_days('2025-08-2' at line 1 select * from ***_ecms_live where like '%斯佩齐亚%' and to_days('2025-08-21 19:17:27')=to_days(start_time) order by newstime ASC limit 100