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 '%\xE5\x8D\xA2\xE6\xA3\xAE\xE5\xA0\xA1%' and to_days('2024-11-18 07:42:30')' at line 1 select * from ***_ecms_live where like '%卢森堡%' and to_days('2024-11-18 07:42:30')=to_days(start_time) order by newstime ASC limit 100