1267 - Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='

SELECT pages.id AS id, pages.nickname AS nick, pages.section AS section, UNIX_TIMESTAMP(pages.lastmod) AS bodyModTime, pages.title AS title, pages.pheader AS pheader, pages.descript AS descript, pages.keywords AS keywords, pages.body AS body, pages.private AS private, pages.resend AS resend, pages.shablon AS pageshablon, pages.can_comment AS can_comment, pages.id_author AS id_author, tree.topname AS topname, tree.id AS secid, tree.pid AS secpid, tree.sort AS sort, tree.title AS sectitle, tree.razdel_v_menu AS razdel_v_menu, tree.podmenu AS podmenu, tree.url AS securl, tree.header AS noBorderBody, tree.is_family AS is_family, tree.shablon AS secshablon, ISNULL(tree.img) AS ISNULLheaderImg, UNIX_TIMESTAMP(tree.imgmod) AS headerImgMod FROM pages LEFT JOIN tree ON pages.section=tree.id WHERE pages.nickname='phpbb2....5'