Created
March 26, 2024 05:26
-
-
Save jasperf/0c09968be1291107f088df840035f098 to your computer and use it in GitHub Desktop.
add user with remote ip address to allow access to database on secondary server from main server
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
CREATE USER 'user'@'10.0.0.3' IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON database.* TO 'user'@'10.0.0.3' IDENTIFIED BY 'password'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment