Ubuntu 下Mysql server 远端访问

1. comment  /etc/mysql/mysql.conf.d/mysqld.cnf    bind-address  =127.0.0.11

2. execute sql

grant all on *.* to root@'%' identified by 'mysql';   //root username   mysql user's password
flush privileg ;

猜你喜欢

转载自blog.csdn.net/moliqin/article/details/52559533