Skip to content

Instantly share code, notes, and snippets.

@mlzxy
Created July 28, 2015 03:32
Show Gist options
  • Save mlzxy/dc4f203497a473d39c8b to your computer and use it in GitHub Desktop.
Save mlzxy/dc4f203497a473d39c8b to your computer and use it in GitHub Desktop.
mysql -u root -p ##登陆
## in mysql console
CREATE DATABASE wordpressdb;
CREATE USER wordpressuser@localhost IDENTIFIED BY 'wordpresspassword';
GRANT ALL PRIVILEGES ON wordpressdb.* TO wordpressuser@localhost;
FLUSH PRIVILEGES;
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment