Skip to content

Instantly share code, notes, and snippets.

@Josh00
Last active January 13, 2018 02:16
Show Gist options
  • Save Josh00/1ce229fd1adfc46533693ec843f12e9d to your computer and use it in GitHub Desktop.
Save Josh00/1ce229fd1adfc46533693ec843f12e9d to your computer and use it in GitHub Desktop.
#mysql -u root
mysql> create database DB名;
Query OK, 1 row affected (0.00 sec)
mysql> grant all on DB名.* to 'ID名'@'localhost' identified by 'DBパスワード';
Query OK, 0 rows affected (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment