Atlas:ERROR 1105 (HY000): #07000Proxy Warning - IP Forbidden

1:遇到一个奇怪的问题

Atlas的管理接口正常

添加一个client之后save config

mysql -uroot -p -P1234 -h127.0.0.1

报错了:ERROR 1105 (HY000): #07000Proxy Warning - IP Forbidden

2:查看配置文件

cat test.cnf

client-ips=192.168.91.1301,

其中一个IP误添加出错了。

3:注释掉错误IP重新登录即可

[[email protected] bin]# ./mysql-proxyd test restart
OK: MySQL-Proxy of test is stopped
OK: MySQL-Proxy of test is started
[[email protected] bin]# mysql -uroot -p -P1234 -h127.0.0.1
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.81-log Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the current input statement.

mysql>

  

或者在管理接口把错误remove client也可以。

时间: 2024-12-28 02:08:59

Atlas:ERROR 1105 (HY000): #07000Proxy Warning - IP Forbidden的相关文章

ERROR 1105 (HY000): A PRIMARY KEY must include all columns in the table's partitioning function

ERROR 1105 (HY000): A PRIMARY KEY must include all columns in the table's partitioning function CREATE TABLE `sample` (  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',  `trade_no` varchar(32) NOT NULL COMMENT 'xxx',  `trade_type` varchar(32) D

【MySQL案例】ERROR 1786 (HY000)

1.1.1. ERROR 1786 (HY000) [环境描述] msyql5.6.14 [报错信息] 执行create table ... select的时候遇到报错: db1 [test] [23:01:58]> create tablelgmnr_bak select * from lgmnr; ERROR 1786 (HY000): CREATE TABLE ... SELECTis forbidden when @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1

ERROR 2003 (HY000): Can't connect to MySQL server on 'ip'(111)

问题描述:  从一台linux远程连接另一台linux上的MySQL, 出现ERROR 2003 (HY000): Can't connect to MySQL server on 'ip'(111)错误.   [[email protected] ~]$ mysql -hxxx.xxx.xxx.85 -uroot -p Enter password:  123456   ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.

ERROR 2003 (HY000): Can't connect to MySQL server on 'ip address' (111)的处理办法

远程连接mysql数据库时可以使用以下指令 mysql -h 192.168.1.104 -u root -p 如果是初次安装mysql,需要将所有/etc/mysql/内的所有配置文件的bind-address=127.0.0.1全都注释掉 [mysqld] # # * Basic Settings # user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3

ERROR 2002 (HY000): Can't connect to local MySQL server through socket

在安装好了MySQL之后,使用了新的配置文件后,MySQL服务器可以成功启动,但在登陆的时候出现了ERROR 2002 (HY000): Can't connect to local MySQL server through socket,即无法通过socket连接到mysql服务器,同时提供了socket文件的位置.下面是这个问题的描述与解决办法. 1.故障现象[[email protected] mysqldata]# mysql -uroot -p123456Warning: Using

Mac mySql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)的解决办法

我的环境:Mac 10.11.6 ,mysql  5.7.14  . mac mySql 报错ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 这个错是链接时报的错,要链接必须启动.修复的时候首先要启动mysql. 首先来了解一下 mysql.sock的作用: Mysql有两种连接方式: (1),TCP/IP (2),socket 对mysql.sock来说,其

ERROR 2002 (HY000): Can't connect to local MySQL server through socket

在安装好了MySQL之后,使用了新的配置文件后.MySQL服务器能够成功启动,但在登陆的时候出现了ERROR 2002 (HY000): Can't connect to local MySQL server through socket,即无法通过socket连接到mysql服务器,同一时候提供了socket文件的位置.以下是这个问题的描写叙述与解决的方法. 1.故障现象[[email protected] mysqldata]# mysql -uroot -p123456Warning: U

ERROR 2003 (HY000): Can't connect to MySQL server on '129.28.149.240' (111) mysql 无法远程连接

环境: ubuntu  mysql 一. 查看端口 可以看到mysql监控的是本机Ip [email protected]:/etc/mysql/mysql.conf.d# netstat -apn|grep 3306 tcp 0 127 0.0.0.1:3306 0.0.0.0:* LISTEN 12770/mysqld 二. 修改mysql 配置文件 将bind-address = 127.0.0.1 # 表示允许任何主机登陆MySQL port=3306 改为 bind-address =

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib

今天在linux里安装mysql,运行时遇到这样的错误 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 上网查了下: 这种情况大多数是因为你的mysql是使用rpm方式安装的,它会自动寻找 /var/lib/mysql/mysql.sock 这个文件,通过unix socket登录mysql.常见解决办法如下:1.创建/修改文件 /etc/my.c