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 '%\xE9\x87\x8C\xE5\x8A\xA0FS\xE5\xAD\xA6\xE9\x99\xA2%' and to_days('2025-12' at line 1 select * from ***_ecms_live where like '%里加FS学院%' and to_days('2025-12-26 22:04:18')=to_days(start_time) order by newstime ASC limit 100