Last active
August 25, 2022 02:43
-
-
Save baiano/2b8c4ea20f1144ab8058307650b73224 to your computer and use it in GitHub Desktop.
Create user with permissions for a new wordpress site.
This file contains hidden or 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
CREATE USER 'newUser'@'localhost' IDENTIFIED BY 'aBigPasswordForMyDatabaseAccess'; | |
GRANT SELECT, INSERT, CREATE, UPDATE, DELETE, ALTER, DROP, INDEX ON databaseName.* TO 'newUser'@'localhost'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment