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\xB8\x83\xE8\x8E\xB1\xE5\x85\x8B\xE7\x94\xB5\xE5\x8A\x9B%' and to_day' at line 1 select * from ***_ecms_live where like '%布莱克电力%' and to_days('2024-05-22 19:09:48')=to_days(start_time) order by newstime ASC limit 100