Created
January 4, 2013 01:41
-
-
Save michaelbramwell/4449210 to your computer and use it in GitHub Desktop.
grant remote access to mysql server from mysql shell
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
GRANT ALL PRIVILEGES ON {tablename}.* TO {username}@"{ipaddress}" IDENTIFIED BY "{password}" | |
e.g | |
GRANT ALL PRIVILEGES ON tableFoo.* TO wordpressuser@"192.168.1.%" IDENTIFIED BY "secure123" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment