mysql 数据库局域网共享备忘
1. /etc/mysql/my.conf
注释掉:# bind-address = 127.0.0.1
2. 授权
grant all privileges on *.* to root@"%" identified by 'abc' with grant option;
flush privileges;
mysql 数据库局域网共享备忘
1. /etc/mysql/my.conf
注释掉:# bind-address = 127.0.0.1
2. 授权
grant all privileges on *.* to root@"%" identified by 'abc' with grant option;
flush privileges;