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 '%\xE4\xBC\x8A\xE6\x99\xAE\xE6\x96\xAF\xE7\xBB\xB4\xE5\xA5\x87%' and to_day' at line 1 select * from ***_ecms_live where like '%伊普斯维奇%' and to_days('2024-11-18 02:33:21')=to_days(start_time) order by newstime ASC limit 100