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数据库进行局域网共享,包括修改配置文件、授权操作等关键步骤,确保数据库的安全性和易用性。
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;
1096

被折叠的 条评论
为什么被折叠?