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