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 '%g-star%' OR p.products_model LIKE '%g-star%' OR m.manufacturers_name LIKE '%g-star%' OR (mtpd.metatags_keywords LIKE '%g-star%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%g-star%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%raw��%' OR p.products_model LIKE '%raw��%' OR m.manufacturers_name LIKE '%raw��%' OR (mtpd.metatags_keywords LIKE '%raw��%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%raw��%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%women\'s%' OR p.products_model LIKE '%women\'s%' OR m.manufacturers_name LIKE '%women\'s%' OR (mtpd.metatags_keywords LIKE '%women\'s%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%women\'s%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%rovic%' OR p.products_model LIKE '%rovic%' OR m.manufacturers_name LIKE '%rovic%' OR (mtpd.metatags_keywords LIKE '%rovic%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%rovic%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%hooded%' OR p.products_model LIKE '%hooded%' OR m.manufacturers_name LIKE '%hooded%' OR (mtpd.metatags_keywords LIKE '%hooded%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%hooded%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%xl%' OR p.products_model LIKE '%xl%' OR m.manufacturers_name LIKE '%xl%' OR (mtpd.metatags_keywords LIKE '%xl%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%xl%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%loose%' OR p.products_model LIKE '%loose%' OR m.manufacturers_name LIKE '%loose%' OR (mtpd.metatags_keywords LIKE '%loose%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%loose%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%parka%' OR p.products_model LIKE '%parka%' OR m.manufacturers_name LIKE '%parka%' OR (mtpd.metatags_keywords LIKE '%parka%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%parka%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%dk%' OR p.products_model LIKE '%dk%' OR m.manufacturers_name LIKE '%dk%' OR (mtpd.metatags_keywords LIKE '%dk%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%dk%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%shamrock%' OR p.products_model LIKE '%shamrock%' OR m.manufacturers_name LIKE '%shamrock%' OR (mtpd.metatags_keywords LIKE '%shamrock%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%shamrock%' AND mtpd.metatags_description !='')) ))]