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 '%510���%' OR p.products_model LIKE '%510���%' OR m.manufacturers_name LIKE '%510���%' OR (mtpd.metatags_keywords LIKE '%510���%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%510���%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%skinny%' OR p.products_model LIKE '%skinny%' OR m.manufacturers_name LIKE '%skinny%' OR (mtpd.metatags_keywords LIKE '%skinny%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%skinny%' 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 '%stretch%' OR p.products_model LIKE '%stretch%' OR m.manufacturers_name LIKE '%stretch%' OR (mtpd.metatags_keywords LIKE '%stretch%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%stretch%' 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 '%the%' OR p.products_model LIKE '%the%' OR m.manufacturers_name LIKE '%the%' OR (mtpd.metatags_keywords LIKE '%the%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%the%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%plant%' OR p.products_model LIKE '%plant%' OR m.manufacturers_name LIKE '%plant%' OR (mtpd.metatags_keywords LIKE '%plant%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%plant%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%o44x5485%' OR p.products_model LIKE '%o44x5485%' OR m.manufacturers_name LIKE '%o44x5485%' OR (mtpd.metatags_keywords LIKE '%o44x5485%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%o44x5485%' AND mtpd.metatags_description !='')) )) GROUP BY p.products_id ]