1. 程式人生 > >Ubuntu 下Mysql server 遠端訪問

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 [email protected]'%' identified by 'mysql';   //root username   mysql user's password
flush privileg ;