Skip to content

Instantly share code, notes, and snippets.

@tinchodev
Created April 21, 2018 01:00
Show Gist options
  • Save tinchodev/98855af4d3f0ab16fb7ee670d48d8329 to your computer and use it in GitHub Desktop.
Save tinchodev/98855af4d3f0ab16fb7ee670d48d8329 to your computer and use it in GitHub Desktop.
Ubuntu Mysql Root Access
> 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