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 '%nike%' OR p.products_model LIKE '%nike%' OR m.manufacturers_name LIKE '%nike%' OR (mtpd.metatags_keywords LIKE '%nike%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%nike%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%7���%' OR p.products_model LIKE '%7���%' OR m.manufacturers_name LIKE '%7���%' OR (mtpd.metatags_keywords LIKE '%7���%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%7���%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%distance%' OR p.products_model LIKE '%distance%' OR m.manufacturers_name LIKE '%distance%' OR (mtpd.metatags_keywords LIKE '%distance%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%distance%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%shorts%' OR p.products_model LIKE '%shorts%' OR m.manufacturers_name LIKE '%shorts%' OR (mtpd.metatags_keywords LIKE '%shorts%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%shorts%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%blue%' OR p.products_model LIKE '%blue%' OR m.manufacturers_name LIKE '%blue%' OR (mtpd.metatags_keywords LIKE '%blue%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%blue%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%s39t3141qd66%' OR p.products_model LIKE '%s39t3141qd66%' OR m.manufacturers_name LIKE '%s39t3141qd66%' OR (mtpd.metatags_keywords LIKE '%s39t3141qd66%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%s39t3141qd66%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%for%' OR p.products_model LIKE '%for%' OR m.manufacturers_name LIKE '%for%' OR (mtpd.metatags_keywords LIKE '%for%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%for%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%mens%' OR p.products_model LIKE '%mens%' OR m.manufacturers_name LIKE '%mens%' OR (mtpd.metatags_keywords LIKE '%mens%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%mens%' AND mtpd.metatags_description !='')) ))]