允许MySQL 帐号远程登录
生活随笔
收集整理的這篇文章主要介紹了
允许MySQL 帐号远程登录
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
1、如果要修改root可遠程登錄,修改mysql庫中user中的root用戶的host為%號,或者是訪問端的ip地址;%表示不限制; 2、修改mysql的配置文件,將綁定ip到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 = 127.0.0.1 3、重啟mysql service mysql restart ? ?tips:
本文由wp2Blog導入,原文鏈接:http://devonios.com/%e5%85%81%e8%ae%b8mysql-%e5%b8%90%e5%8f%b7%e8%bf%9c%e7%a8%8b%e7%99%bb%e5%bd%95.html
轉載于:https://my.oschina.net/yangyan/blog/859149
總結
以上是生活随笔為你收集整理的允许MySQL 帐号远程登录的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java NIO3:缓冲区Buffer
- 下一篇: linux cmake编译源码,linu