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\xBD\x98\xE5\xB8\x95\xE5\x86\x85\xE7\xBD\x97\xE6\x96\xAF%' and to_day' at line 1 select * from ***_ecms_live where like '%潘帕内罗斯%' and to_days('2025-12-29 06:54:16')=to_days(start_time) order by newstime ASC limit 100