MySQL

Infobrightお試しメモ

現在MySQLに存在するテーブルをInfobrightにimport(LOAD)する. Windows版DL&インストール. user作成. database作成. user権限追加 character set設定 create table AUTO_INCREMENTとかサポートしてない属性削除. ENGINE=BRIGHTHOUSEに変更で↓. CREATE…

Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='

ブログタイトルとは全く合いませんが,唐突にDB. こんな↓エラーがでた. ERROR 1267 (HY000): Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=' でもMySQLのUIツールで確認するとどっちも utf8_gen…

MySQL Duplicate entry

忘れちゃうのでメモ. com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry Javaだと aa != Aa だけど MySQLのColumn Collate: utf8_general_ci だと aa == Aa になるのでNG. MySQLのColumn Collate: utf8_bin …