-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dc connection handshake failed with mysql #212
Comments
这个需要检查一下,后端数据库连接是否有权限连上呢 |
你好,感谢回复,后端数据库没有问题,可以直接连接,我这里只有一个库,不分库只分表,不知道上面的配置是否有问题? |
换个有主从配置的数据库 |
可能是mysql连接数不够造成的,增加max_connections |
我也遇到这个问题了,请问这个问题解决了吗 |
我也遇到这个问题,日志显示: |
有同样的问题,我有两个namespace,一个后端数据库是5.6,另一个是5.7,都是单个服务没有主从,通过代理访问的时候5.6的报错了,writeHandshakeResponse41()执行完之后收到后端的响应头代码是ErrHeader(255),报错同1楼 |
我这边是 因为 ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; |
我也遇到了这个问题。但是应用接入后,只是偶尔报这种错,并不是直接拦截。看上面说是版本问题,那我这种零星报这种错误是什么原因呢? |
本地启动 Gaea OK,启动后使用 mycli 连接报如下错误:
(1105, 'unknown error: dc connection handshake failed with mysql')
mycli 连接:
mycli -h0.0.0.0 -utest -p1234 -P13306 db_kingshard
配置:
The text was updated successfully, but these errors were encountered: