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 '%\xE9\xA9\xAC\xE6\xB4\x9B\xE5\x8D\xA1%' and to_days('2024-11-22 14:27:18')' at line 1 select * from ***_ecms_live where like '%马洛卡%' and to_days('2024-11-22 14:27:18')=to_days(start_time) order by newstime ASC limit 100