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\xE5\x9F\x83\xE5\xB0\x94\xE5\x9C\x9F\xE4\xBC\xA6%' and to_day' at line 1 select * from ***_ecms_live where like '%伊埃尔土伦%' and to_days('2024-05-22 18:41:34')=to_days(start_time) order by newstime ASC limit 100