Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.