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\xA7\x86\xE5\xB7\xB4\xE8\x8E\xB1\xE8\x8B\xB1\xE9\x9B\x84%' and to_day' at line 1 select * from ***_ecms_live where like '%姆巴莱英雄%' and to_days('2024-05-22 17:46:14')=to_days(start_time) order by newstime ASC limit 100