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\xBD\xA9\xE6\x96\xAF\xE5\xA5\x8E\xE8\x89\xBE\xE6\x8B\x89%' and to_day' at line 1 select * from ***_ecms_live where like '%佩斯奎艾拉%' and to_days('2025-12-31 08:12:22')=to_days(start_time) order by newstime ASC limit 100