Skip to content

Instantly share code, notes, and snippets.

@tinchodev
Created March 3, 2017 15:57
Show Gist options
  • Save tinchodev/e64ad2a9058e7687e9d6e8c0033b0d27 to your computer and use it in GitHub Desktop.
Save tinchodev/e64ad2a9058e7687e9d6e8c0033b0d27 to your computer and use it in GitHub Desktop.
Grant Root Remote Access MySQL
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;
Edit /etc/mysql/my.cnf
Comment address binding bind-address = 127.0.0.1 to #bind-address = 127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment