Skip to content

Instantly share code, notes, and snippets.

@k2works
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k2works/fb0d175f7161c84b53d2 to your computer and use it in GitHub Desktop.
Save k2works/fb0d175f7161c84b53d2 to your computer and use it in GitHub Desktop.
DBの文字コードまわり

文字コードを確認する

mysql> show variables like "char%";

データベースの文字コードを変更する

mysql> ALTER TABLE ****(テーブル名) CONVERT TO CHARACTER SET utf8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment