Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. my.cnf:
  2.  
  3. bind-address = 0.0.0.0
  4.  
  5.  
  6. --------------------------
  7.  
  8. mysql -u root -p
  9.  
  10. use mysql;
  11. select host, user from user;
  12. GRANT ALL ON *.* to root@'0.0.0.0' IDENTIFIED BY 'password-here';
  13. FLUSH PRIVILEGES;
  14. exit
  15.  
  16.  
  17. sudo /etc/init.d/mysql restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement