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 '%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 '%shoes%' OR p.products_model LIKE '%shoes%' OR m.manufacturers_name LIKE '%shoes%' OR (mtpd.metatags_keywords LIKE '%shoes%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%shoes%' 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 '%men%' OR p.products_model LIKE '%men%' OR m.manufacturers_name LIKE '%men%' OR (mtpd.metatags_keywords LIKE '%men%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%men%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%o43z1001%' OR p.products_model LIKE '%o43z1001%' OR m.manufacturers_name LIKE '%o43z1001%' OR (mtpd.metatags_keywords LIKE '%o43z1001%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%o43z1001%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%-%' OR p.products_model LIKE '%-%' OR m.manufacturers_name LIKE '%-%' OR (mtpd.metatags_keywords LIKE '%-%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%-%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%emerson%' OR p.products_model LIKE '%emerson%' OR m.manufacturers_name LIKE '%emerson%' OR (mtpd.metatags_keywords LIKE '%emerson%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%emerson%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%collar%' OR p.products_model LIKE '%collar%' OR m.manufacturers_name LIKE '%collar%' OR (mtpd.metatags_keywords LIKE '%collar%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%collar%' AND mtpd.metatags_description !='')) and ( (pd.products_name LIKE '%black%' OR p.products_model LIKE '%black%' OR m.manufacturers_name LIKE '%black%' OR (mtpd.metatags_keywords LIKE '%black%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%black%' AND mtpd.metatags_description !='')) ) ))]