Created
April 21, 2018 01:00
-
-
Save tinchodev/98855af4d3f0ab16fb7ee670d48d8329 to your computer and use it in GitHub Desktop.
Ubuntu Mysql Root Access
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
> sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf | |
> bind-address = 0.0.0.0 | |
> sudo systemctl restart mysql.service | |
> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password'; | |
> FLUSH PRIVILEGES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment