Skip to content

Instantly share code, notes, and snippets.

@takuya-i
Last active August 29, 2015 14:23
Show Gist options
  • Save takuya-i/691d8617dfe895d62f62 to your computer and use it in GitHub Desktop.
Save takuya-i/691d8617dfe895d62f62 to your computer and use it in GitHub Desktop.
Rails + Mysql データベース作成 ref: http://qiita.com/takuya-i/items/3d6c2d81b31d0b58a3a0
$mysql>create database [データベース名] character set utf8;
$mysql>create user 'ユーザ名'@'localhost' identified by 'パスワード';
$mysql>grant all privileges on [データベース名].* to 'ユーザ名'@'localhost';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment