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\x91\xA1\xE8\x90\x84\xE7\x89\x99%' and to_days('2024-11-22 14:31:06')' at line 1 select * from ***_ecms_live where like '%葡萄牙%' and to_days('2024-11-22 14:31:06')=to_days(start_time) order by newstime ASC limit 100