Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my.cnf:
- bind-address = 0.0.0.0
- --------------------------
- mysql -u root -p
- use mysql;
- select host, user from user;
- GRANT ALL ON *.* to root@'0.0.0.0' IDENTIFIED BY 'password-here';
- FLUSH PRIVILEGES;
- exit
- sudo /etc/init.d/mysql restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement