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\x8D\xA1\xE5\x8A\xA0\xE7\x91\x9E\xE5\xB1\xB1\xE9\xBA\x93%' and to_day' at line 1 select * from ***_ecms_live where like '%卡加瑞山麓%' and to_days('2025-12-29 03:51:17')=to_days(start_time) order by newstime ASC limit 100