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\xE5\x9B\xBE\xE4\xB9\xA6\xE9\xA6\x86%' and to_day' at line 1 select * from ***_ecms_live where like '%贝尔图书馆%' and to_days('2026-03-07 20:24:58')=to_days(start_time) order by newstime ASC limit 100