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\xB9\x8C\xE5\x85\x8B\xE5\x85\xB0%' and to_days('2024-11-27 23:21:42')' at line 1 select * from ***_ecms_live where like '%烏克蘭%' and to_days('2024-11-27 23:21:42')=to_days(start_time) order by newstime ASC limit 100