1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like'
in:
[select distinct p.products_id FROM products p LEFT JOIN manufacturers m USING(manufacturers_id) LEFT JOIN products_description pd on p.products_id = pd.products_id JOIN products_to_categories p2c on p.products_id = p2c.products_id JOIN categories c on p2c.categories_id = c.categories_id LEFT JOIN meta_tags_products_description mtpd ON mtpd.products_id= p2c.products_id AND mtpd.language_id = 1 WHERE (p.products_status = 1 AND pd.language_id = 1 AND ((pd.products_name LIKE '%lacoste%' OR p.products_model LIKE '%lacoste%' OR m.manufacturers_name LIKE '%lacoste%' OR (mtpd.metatags_keywords LIKE '%lacoste%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%lacoste%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%men\'s%' OR p.products_model LIKE '%men\'s%' OR m.manufacturers_name LIKE '%men\'s%' OR (mtpd.metatags_keywords LIKE '%men\'s%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%men\'s%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%lacoste%' OR p.products_model LIKE '%lacoste%' OR m.manufacturers_name LIKE '%lacoste%' OR (mtpd.metatags_keywords LIKE '%lacoste%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%lacoste%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%regular%' OR p.products_model LIKE '%regular%' OR m.manufacturers_name LIKE '%regular%' OR (mtpd.metatags_keywords LIKE '%regular%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%regular%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%fit%' OR p.products_model LIKE '%fit%' OR m.manufacturers_name LIKE '%fit%' OR (mtpd.metatags_keywords LIKE '%fit%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%fit%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%flag%' OR p.products_model LIKE '%flag%' OR m.manufacturers_name LIKE '%flag%' OR (mtpd.metatags_keywords LIKE '%flag%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%flag%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%print%' OR p.products_model LIKE '%print%' OR m.manufacturers_name LIKE '%print%' OR (mtpd.metatags_keywords LIKE '%print%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%print%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%piqu��%' OR p.products_model LIKE '%piqu��%' OR m.manufacturers_name LIKE '%piqu��%' OR (mtpd.metatags_keywords LIKE '%piqu��%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%piqu��%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%polo%' OR p.products_model LIKE '%polo%' OR m.manufacturers_name LIKE '%polo%' OR (mtpd.metatags_keywords LIKE '%polo%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%polo%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%london%' OR p.products_model LIKE '%london%' OR m.manufacturers_name LIKE '%london%' OR (mtpd.metatags_keywords LIKE '%london%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%london%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%white%' OR p.products_model LIKE '%white%' OR m.manufacturers_name LIKE '%white%' OR (mtpd.metatags_keywords LIKE '%white%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%white%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%u74w9254%' OR p.products_model LIKE '%u74w9254%' OR m.manufacturers_name LIKE '%u74w9254%' OR (mtpd.metatags_keywords LIKE '%u74w9254%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%u74w9254%' AND mtpd.metatags_description !='')) )) GROUP BY p.products_id ]