Created
April 8, 2015 10:22
-
-
Save kenzo0107/427c9c31fad07e8e8e76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MySQLログイン | |
mysql -u root | |
# DB sentry作成 | |
mysql> CREATE DATABASE IF NOT EXISTS sentry DEFAULT CHARACTER SET utf8; | |
# ユーザsentryにDB "senry" でのすべての権限付与 | |
mysql> GRANT ALL PRIVILEGES ON sentry.* TO sentry@localhost IDENTIFIED BY 'sentry'; | |
# 設定反映 | |
mysql> FLUSH PRIVILEGES; | |
# MySQLログアウト | |
mysql> exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment