mysql - Illegal mix of collations for operation 'match' -
i've got query
select txt, unix_timestamp(added), uid, id2, id2_type sitelog match (id2, uid, txt) against (? in boolean mode)
that return error:
illegal mix of collations (latin1_swedish_ci,numeric), (latin1_swedish_ci,numeric), (utf8_unicode_ci,implicit) operation 'match'
my query:
create table if not exists `sitelog` ( `id` int(10) unsigned not null auto_increment, `added` datetime not null, `txt` text collate utf8_unicode_ci not null, `uid` int(11) not null, `id2` int(11) not null, `id2_type` char(1) collate utf8_unicode_ci not null, primary key (`id`), key `uid` (`uid`), key `id2` (`id2`) ) engine=myisam default charset=utf8 collate=utf8_unicode_ci;
mysql: 5.5.35+dfsg-0+wheezy1 how 1 fix this?
Comments
Post a Comment