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 '%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 !='')) and (pd.products_name LIKE '%diamond%' OR p.products_model LIKE '%diamond%' OR m.manufacturers_name LIKE '%diamond%' OR (mtpd.metatags_keywords LIKE '%diamond%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%diamond%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%m��nner%' OR p.products_model LIKE '%m��nner%' OR m.manufacturers_name LIKE '%m��nner%' OR (mtpd.metatags_keywords LIKE '%m��nner%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%m��nner%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%shirts%' OR p.products_model LIKE '%shirts%' OR m.manufacturers_name LIKE '%shirts%' OR (mtpd.metatags_keywords LIKE '%shirts%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%shirts%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%hoodys%' OR p.products_model LIKE '%hoodys%' OR m.manufacturers_name LIKE '%hoodys%' OR (mtpd.metatags_keywords LIKE '%hoodys%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%hoodys%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%warbonnet%' OR p.products_model LIKE '%warbonnet%' OR m.manufacturers_name LIKE '%warbonnet%' OR (mtpd.metatags_keywords LIKE '%warbonnet%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%warbonnet%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%tech%' OR p.products_model LIKE '%tech%' OR m.manufacturers_name LIKE '%tech%' OR (mtpd.metatags_keywords LIKE '%tech%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%tech%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%tee%' OR p.products_model LIKE '%tee%' OR m.manufacturers_name LIKE '%tee%' OR (mtpd.metatags_keywords LIKE '%tee%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%tee%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%captain%' OR p.products_model LIKE '%captain%' OR m.manufacturers_name LIKE '%captain%' OR (mtpd.metatags_keywords LIKE '%captain%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%captain%' AND mtpd.metatags_description !='')) ))]