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 '%\xE7\x8B\xAC\xE8\xA1\x8C\xE4\xBE\xA0%' and to_days('2024-11-25 02:58:13')' at line 1 select * from ***_ecms_live where like '%獨行俠%' and to_days('2024-11-25 02:58:13')=to_days(start_time) order by newstime ASC limit 100