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 '%Salï%' OR telefone LIKE '%Salï%' OR titulo LIKE '%Salï%' OR endereco LIKE '%Salï%' OR descricao LIKE '%Salï%') AND (1=2 OR nome LIKE '%o%' OR telefone LIKE '%o%' OR titulo LIKE '%o%' OR endereco LIKE '%o%' OR descricao LIKE '%o%') AND (1=2 OR nome LIKE '%de%' OR telefone LIKE '%de%' OR titulo LIKE '%de%' OR endereco LIKE '%de%' OR descricao LIKE '%de%') AND (1=2 OR nome LIKE '%Beleza%' OR telefone LIKE '%Beleza%' OR titulo LIKE '%Beleza%' OR endereco LIKE '%Beleza%' OR descricao LIKE '%Beleza%') ORDER BY star DESC |