摘要: 重新设置密码1. grant all on *.* to xty@'%' identified by "pwd";2. flush privileges;3. exit;xty:连接数据库的用户名,也可是rootpwd:是密码 阅读全文
posted @ 2014-01-10 18:43 jiaokaige 阅读(231) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_7045cb9e0100w9qz.html 阅读全文
posted @ 2014-01-10 18:06 jiaokaige 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 默认情况下Mysql只允许本地登录,所以需要修改配置文件将地址绑定给注释掉: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 <---注释掉这一行就可以远程登录了重启mysql mysql restart 阅读全文
posted @ 2014-01-10 18:05 jiaokaige 阅读(190) 评论(0) 推荐(0) 编辑