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 '%\xE6\xAC\xA7\xE5\xB8\x95\xE7\x91\x9E\xE6\xAC\xA7AM%' and to_days('2025-12' at line 1 select * from ***_ecms_live where like '%欧帕瑞欧AM%' and to_days('2025-12-31 08:46:29')=to_days(start_time) order by newstime ASC limit 100