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\x98\xBF\xE6\x96\xAF\xE9\xA1\xBF\xE7\xBB\xB4\xE6\x8B\x89%' and to_day' at line 1 select * from ***_ecms_live where like '%阿斯頓維拉%' and to_days('2024-11-25 10:15:55')=to_days(start_time) order by newstime ASC limit 100