解决MySQL无法远程访问的方法
摘要:
关闭/开启Red hat防火墙/* 关闭防火墙 */service iptables stop/* 开启防火墙 */service iptables start/* 默认关闭防火墙 */chkconfig iptables off授权法。例如,你想myuser使用mypassword从任何主机连接到mysql服务器的话。GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'linzuxin' WITH GRANT OPTION;FLUSH PRIVILEGES;如果你想允许用户myuse 阅读全文
posted @ 2011-12-13 16:30 linzuxin 阅读(115) 评论(0) 推荐(0) 编辑