mysql开启远程访问权限
2011-03-26 21:17codeif.com
要使用别的电脑管理远程mysql数据库,在局域网中,安全性不是很重要,开始远程权限语句如下:
grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;
在远程登陆使用下面的语句:
mysql -h192.168.1.123 -P3306 -uroot -proot
数据库 > 正文
要使用别的电脑管理远程mysql数据库,在局域网中,安全性不是很重要,开始远程权限语句如下:
grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;
在远程登陆使用下面的语句:
mysql -h192.168.1.123 -P3306 -uroot -proot
| 新浪微博 | 淘段子 | 我的博客 | 淘宝店铺 | jnan.org | RSS |
| Copyright © 2009 - 2011 酷符网 |