Erro! # 1267 - Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation 'like' SELECT tbmaterias.*, DATE_FORMAT(tbmaterias.data,'%d/%m/%Y') as data1 , tbmaterias_titulos.* FROM tbmaterias INNER JOIN tbmaterias_titulos ON (tbmaterias_titulos.id_titulo = tbmaterias.id_titulo) WHERE flag_status=1 AND 1 AND (1=2 OR nome LIKE '%mï%' OR telefone LIKE '%mï%' OR titulo LIKE '%mï%' OR endereco LIKE '%mï%' OR descricao LIKE '%mï%') AND (1=2 OR nome LIKE '%veis%' OR telefone LIKE '%veis%' OR titulo LIKE '%veis%' OR endereco LIKE '%veis%' OR descricao LIKE '%veis%') AND (1=2 OR nome LIKE '%e%' OR telefone LIKE '%e%' OR titulo LIKE '%e%' OR endereco LIKE '%e%' OR descricao LIKE '%e%') AND (1=2 OR nome LIKE '%Eletros%' OR telefone LIKE '%Eletros%' OR titulo LIKE '%Eletros%' OR endereco LIKE '%Eletros%' OR descricao LIKE '%Eletros%') ORDER BY star DESC |