vim /etc/mysql/my.cnf
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address =
127.0.0.1 <---注释掉这一行就可以远程登录了
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address
本文将指导您如何通过注释掉my.cnf文件中的一行来启用MySQL的远程访问功能,实现远程登录。
1941

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



