Created
November 1, 2020 22:28
-
-
Save davedavis/3d49c0966a1314966b928427991122e4 to your computer and use it in GitHub Desktop.
Allow remote access to MySQL 8 Database
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
Comment out or set the IP of the bind address manually in /etc/mysql/my.cnf | |
Restart the service. | |
Create the user AGAIN (Because MySQL treats users on localhost and users on remote as different) | |
CREATE USER 'username'@'%' IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON *.* TO 'username'@'%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment