LoginSignup
1
1

More than 5 years have passed since last update.

mysqldumpで文字コードのエラーが出た時の対処

Posted at

wordpressサイトのDBをmysqldumpでコピーしようとした時に下記のエラーが出たので対処。

Unknown collation: 'utf8mb4_unicode_ci'

参考
WordPress 4.2、MySQL 5.5.3及びutf8mb4について
【WordPress】DBの文字コードをのエラーがでたときの対処法メモ

dumpファイルの
utf8_general_ciutf8_general_ciへ変更
utf8mb4utf8へ変更

以上で無事ダンプ出来ました。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1