1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like'
in:
[select distinct p.products_id FROM products p LEFT JOIN manufacturers m USING(manufacturers_id) LEFT JOIN products_description pd on p.products_id = pd.products_id JOIN products_to_categories p2c on p.products_id = p2c.products_id JOIN categories c on p2c.categories_id = c.categories_id 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 pd.language_id = 1 AND ((pd.products_name LIKE '%polo%' OR p.products_model LIKE '%polo%' OR m.manufacturers_name LIKE '%polo%' OR (mtpd.metatags_keywords LIKE '%polo%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%polo%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%ajustado%' OR p.products_model LIKE '%ajustado%' OR m.manufacturers_name LIKE '%ajustado%' OR (mtpd.metatags_keywords LIKE '%ajustado%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%ajustado%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%de%' OR p.products_model LIKE '%de%' OR m.manufacturers_name LIKE '%de%' OR (mtpd.metatags_keywords LIKE '%de%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%de%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%algod��n%' OR p.products_model LIKE '%algod��n%' OR m.manufacturers_name LIKE '%algod��n%' OR (mtpd.metatags_keywords LIKE '%algod��n%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%algod��n%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%pima%' OR p.products_model LIKE '%pima%' OR m.manufacturers_name LIKE '%pima%' OR (mtpd.metatags_keywords LIKE '%pima%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%pima%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%calvin%' OR p.products_model LIKE '%calvin%' OR m.manufacturers_name LIKE '%calvin%' OR (mtpd.metatags_keywords LIKE '%calvin%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%calvin%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%klein%' OR p.products_model LIKE '%klein%' OR m.manufacturers_name LIKE '%klein%' OR (mtpd.metatags_keywords LIKE '%klein%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%klein%' AND mtpd.metatags_description !='')) )) GROUP BY p.products_id ]