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 '%\xE4\xB8\xAD\xE6\x97\xA5\xE5\xBE\xB7\xE5\x85\xB0%' and to_days('2024-11-1' at line 1 select * from ***_ecms_live where like '%中日德兰%' and to_days('2024-11-17 23:40:10')=to_days(start_time) order by newstime ASC limit 100