VMware Ubuntu 9.04 MySQL 5.1 设置远程登录 |
发布时间: 2012/8/13 16:27:43 |
VMware Ubuntu 9.04 MySQL 5.1 设置远程登录 1.终端进入mysql后使用命令 1)use mysql 2) update user set host='%' where user='root' and host='localhost'; 2.修改/etc/mysql/my.cnf文件的 bind-address,把127.0.0.1改成0.0.0.0就可以了 本文出自:亿恩科技【www.enkj.com】 |