mysql proxy无法连接_客户端无法通过4040端口连接到mysql proxy

最近在用mysqlproxy,理想情况下是这样的:客户端连接mysqlproxy,然后mysqlproxy根据lua脚本把请求分发到下面的两个mysql服务器,这两个mysql服务器互为主从。但设置好之后却无法通过...

最近在用mysql proxy,理想情况下是这样的:客户端连接mysql proxy,然后mysql proxy根据lua脚本把请求分发到下面的两个mysql服务器,这两个mysql服务器互为主从。但设置好之后却无法通过客户端链接到mysql proxy,远程访问的权限已经开了,但客户端提示:

_mysql_exceptions.OperationalError: (1130, "Host '192.168.0.183' is not allowed to connect to this MySQL server")

mysql proxy日志里面看了一下:

2010-11-25 14:52:40: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.

2010-11-25 15:04:23: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.

2010-11-25 15:19:04: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.

2010-11-25 15:19:59: (debug) last message repeated 1 times

2010-11-25 15:19:59: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.

2010-11-25 15:32:06: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.

2010-11-25 16:06:07: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.

2010-11-25 16:41:13: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.

2010-11-25 17:39:14: (debug) last message repeated 1 times

2010-11-25 17:39:14: (debug) [network-mysqld.c:937]: error on a connection (fd: -1 event: 0). closing client connection.

请高手指点 多谢

展开

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值