解决远程连接mysql错误1130代码的方法
2016-04-22 17:12
609 查看
命令行登陆
mysql -uroot -p
输入密码后登陆
use mysql;
select host,user from user ;
grant all
on *.*
to root identified by '123456'
with grant option;
flush privileges;
搞定!
mysql -uroot -p
输入密码后登陆
use mysql;
select host,user from user ;
grant all
on *.*
to root identified by '123456'
with grant option;
flush privileges;
搞定!
相关文章推荐
- mysql 5.1安装报错
- mysql数据库修改密码
- mac 下mysql 修改默认密码
- MySQL 闪退问题
- 实现Web应用的高并发、负载均衡配置(2) - MySQL环境配置
- mysql常用命令
- mysql中char和varchar区别
- jdbc数据源配置
- 免安装版数据库MySQL-5.7.12-winx64下载、安装及配置和使用
- MySQL慢查询分析mysqldumpslow
- MySQL审计之init-connect + binlog
- Mac 下安装 MySql
- 系统重装后恢复MySQL数据
- saltstack应用之批量部署mysql
- MySQL导出和导入含有二进制字段的数据
- MySQL常用函数
- windows无法启动MySQL服务 错误1067
- MySQL常用代码
- mysql常用函数
- MySQL常用工具之percona-toolkit