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 '%levi\'s%' OR p.products_model LIKE '%levi\'s%' OR m.manufacturers_name LIKE '%levi\'s%' OR (mtpd.metatags_keywords LIKE '%levi\'s%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%levi\'s%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%504���%' OR p.products_model LIKE '%504���%' OR m.manufacturers_name LIKE '%504���%' OR (mtpd.metatags_keywords LIKE '%504���%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%504���%' 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 '%straight%' OR p.products_model LIKE '%straight%' OR m.manufacturers_name LIKE '%straight%' OR (mtpd.metatags_keywords LIKE '%straight%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%straight%' 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 '%jeans%' OR p.products_model LIKE '%jeans%' OR m.manufacturers_name LIKE '%jeans%' OR (mtpd.metatags_keywords LIKE '%jeans%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%jeans%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%friends%' OR p.products_model LIKE '%friends%' OR m.manufacturers_name LIKE '%friends%' OR (mtpd.metatags_keywords LIKE '%friends%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%friends%' AND mtpd.metatags_description !='')) )) GROUP BY p.products_id ]