Created
December 17, 2021 12:24
-
-
Save abdes-zakari/a511e9ea2865e08b30e443dc1b9f2b92 to your computer and use it in GitHub Desktop.
MySql: Enable access for the remote user
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
-- MySql: Enable access for remote user | |
GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.1.7' IDENTIFIED BY 'my_password'; | |
flush privileges; | |
-- or for specfic user and database | |
GRANT ALL ON fooDatabase.* TO fooUser@'192.168.1.7' IDENTIFIED BY 'my_password'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment