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\x93\xA5\xE6\x9C\xAC\xE5\x93\x88\xE6\xA0\xB9%' and to_days('2025-06-1' at line 1 select * from ***_ecms_live where like '%哥本哈根%' and to_days('2025-06-17 00:24:07')=to_days(start_time) order by newstime ASC limit 100