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 '%\xE8\x90\xA8\xE5\xB0\x94\xE5\xB8\x83\xE5\x90\x95\xE8\x82\xAF%' and to_day' at line 1 select * from ***_ecms_live where like '%薩爾布呂肯%' and to_days('2024-11-25 17:05:33')=to_days(start_time) order by newstime ASC limit 100