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\x9B\xB4\xE5\xB8\x83\xE7\xBD\x97\xE9\x99\x80%' and to_days('2024-11-2' at line 1 select * from ***_ecms_live where like '%直布羅陀%' and to_days('2024-11-28 14:24:51')=to_days(start_time) order by newstime ASC limit 100