-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
database/gdb: connect issue with aliyunrds #3755
Comments
在ecs上链接还是本地呢?rds的网络权限开启了ecs访问吗?建议自查 |
Is it linked to ecs or local? Does the network permission of rds enable ecs access? Recommend self-examination |
不像是你说的问题吧,如果是你说的问题,那我不管哪个配置都应该不行才对。 link: "mysql:user:pwd@tcp(rdsid.mysql.rds.aliyuncs.com)/dbname?charset=utf8&loc=Local" 但是我下边这样可以 我也不知道什么原因 |
@chaegumi Let me have a little check. |
It doesn't seem to be the problem you mentioned. If it is the problem you mentioned, then no matter which configuration I configure, it should not work. link: "mysql:user:pwd@tcp(rdsid.mysql.rds.aliyuncs.com)/dbname?charset=utf8&loc=Local" But I can do this down below I don't know why |
@chaegumi 主要原因是里面缺少了端口引起了,目前你可以在地址中增加端口号绕过该问题,我这边会解决一下这个小细节,感谢反馈 ❤️ |
@chaegumi The main reason is that the port is missing. Currently you can add the port number to the address to bypass this problem. I will solve this small detail here. Thanks for the feedback ❤️ |
thanks |
Go version
go version go1.22.1 windows/amd64 linux
GoFrame version
v2.7.2
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
error config
correct config
What did you see happen?
link with type cannot connect rds
What did you expect to see?
link with type can connect rds
The text was updated successfully, but these errors were encountered: