1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like'
in:
[select count(distinct p.products_id) as total FROM (products p LEFT JOIN manufacturers m USING(manufacturers_id), products_description pd, categories c, products_to_categories p2c ) 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 p.products_id = pd.products_id AND pd.language_id = 1 AND p.products_id = p2c.products_id AND p2c.categories_id = c.categories_id AND ((pd.products_name LIKE '%adidas%' OR p.products_model LIKE '%adidas%' OR m.manufacturers_name LIKE '%adidas%' OR (mtpd.metatags_keywords LIKE '%adidas%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%adidas%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%eezay%' OR p.products_model LIKE '%eezay%' OR m.manufacturers_name LIKE '%eezay%' OR (mtpd.metatags_keywords LIKE '%eezay%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%eezay%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%striped%' OR p.products_model LIKE '%striped%' OR m.manufacturers_name LIKE '%striped%' OR (mtpd.metatags_keywords LIKE '%striped%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%striped%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%thongs%' OR p.products_model LIKE '%thongs%' OR m.manufacturers_name LIKE '%thongs%' OR (mtpd.metatags_keywords LIKE '%thongs%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%thongs%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%keltainen%' OR p.products_model LIKE '%keltainen%' OR m.manufacturers_name LIKE '%keltainen%' OR (mtpd.metatags_keywords LIKE '%keltainen%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%keltainen%' AND mtpd.metatags_description !='')) and ( (pd.products_name LIKE '%miesten%' OR p.products_model LIKE '%miesten%' OR m.manufacturers_name LIKE '%miesten%' OR (mtpd.metatags_keywords LIKE '%miesten%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%miesten%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%kenki��%' OR p.products_model LIKE '%kenki��%' OR m.manufacturers_name LIKE '%kenki��%' OR (mtpd.metatags_keywords LIKE '%kenki��%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%kenki��%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%00390%' OR p.products_model LIKE '%00390%' OR m.manufacturers_name LIKE '%00390%' OR (mtpd.metatags_keywords LIKE '%00390%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%00390%' AND mtpd.metatags_description !='')) ) ))]