远程连接 Mysql,常见错误及解决方法
来源:互联网 发布:windows系统ios开发 编辑:程序博客网 时间:2024/06/10 02:33
报错:1130-host ... is not allowed to connect to this MySql server
首先:修改配置文件my.cnf
vim /usr/local/mysql3306/etc/my.cnf
在[mysqld]处添加一行:skip-grant-tables
退出保存
重其mysql 服务。
Mysql提示you need the SUPER privilege for this operation的解决办法
同上
转自:http://www.cnblogs.com/xyzdw/archive/2011/08/11/2135227.html
错误2:Access denied for user 'root'@'localhost' (using password:YES)
mysql> UPDATE user SET Password=PASSWORD('newpassword') where USER='root';mysql> FLUSH PRIVILEGES;mysql> quit
重启mysql服务;
执行
grant replication slave, replication client on *.* to repl@'localhost' identified by '123456' 时报错:
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
解决方法:
解决办法:
mysql> set global read_only=0;
(关掉新主库的只读属性)
flush privileges;
set global read_only=1;(读写属相)
flush privileges;
0 0
- 远程连接 Mysql,常见错误及解决方法
- MySQL常见远程连接错误解决方法
- mysql远程连接错误1130的解决方法
- Oracle 连接常见错误及解决方法
- Oracle 连接常见错误及解决方法
- Oracle连接常见错误及解决方法
- oracle连接常见错误及解决方法
- mysql常见错误提示及解决方法
- mysql常见错误提示及解决方法
- mysql常见错误提示及解决方法
- mysql常见错误提示及解决方法
- MySQL常见的错误及解决方法
- mysql 常见错误提示及解决方法
- mysql常见错误提示及解决方法
- mysql数据库常见错误及解决方法
- mysql常见错误解决方法
- mysql常见错误解决方法
- 常见错误及解决方法
- sublime用浏览器打开html文件
- Debussy
- APP切入后台的事件监听
- 数据库之jdbc
- CentOS YUM源
- 远程连接 Mysql,常见错误及解决方法
- stm32中断优先级
- 【Android】如何将其他项目作为Lib
- Hydra - 京东开源的基于Dubbo的调用分布跟踪系统
- ScrollView用法
- 好用的录屏软件
- Java 学习之集合框架---List
- Eclipse项目出现红色叹号
- 最全csdn正则表达式