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 '%\xE8\xB4\x9D\xE5\xB0\x94\xE6\xA0\xBC\xE8\x8E\xB1\xE5\xBE\xB7\xE7\xBA\xA2\' at line 1 select * from ***_ecms_live where like '%貝爾格萊德紅星%' and to_days('2024-11-25 17:17:44')=to_days(start_time) order by newstime ASC limit 100