Last active
June 17, 2022 14:13
-
-
Save alainlankers/0ef42def8d263e3155ced028ae5c1115 to your computer and use it in GitHub Desktop.
Create MySQL database for WordPress install
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
$ sudo mysql -u root | |
mysql> CREATE DATABASE wordpressdb; | |
mysql> CREATE USER wordpress@localhost IDENTIFIED BY '<your-password>'; | |
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER | |
-> ON wordpressdb.* | |
-> TO wordpress@localhost; | |
mysql> FLUSH PRIVILEGES; | |
mysql> quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment