Skip to content
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

[ 备份库名过长导致回滚语句生成失败 ] #309

Closed
shenjianxin opened this issue Jul 5, 2019 · 8 comments
Closed

[ 备份库名过长导致回滚语句生成失败 ] #309

shenjianxin opened this issue Jul 5, 2019 · 8 comments
Labels
area/inception question Further information is requested

Comments

@shenjianxin
Copy link

问题描述

执行上线工单成功,备份失败,执行信息如下:
Backup: 备份库名 'rm-hp3oyau9st72lxxxxxx.mysql.huhehaote.rds.aliyuncs.com-3306-xxxxxxx' 过长. Backup: 备份库名 'rm-hp3oyau9st72lxxxxxx.mysql.huhehaote.rds.aliyuncs.com-3306-xxxxxxx' 过长. Incorrect database name ''. Incorrect database name ''.

版本信息

  • 应用版本/分支:Release v1.6.1
  • 部署方式:Docker
@shenjianxin shenjianxin added the question Further information is requested label Jul 5, 2019
@hhyo
Copy link
Owner

hhyo commented Jul 5, 2019

建议给https://github.com/hanchuanchuan/goInception
提交issue,一般这种建议使用cname来缩短连接名

@funet8
Copy link

funet8 commented Nov 6, 2020

遇到同样的问题,阿里云的rds,怎么解决啊?

@funet8
Copy link

funet8 commented Nov 10, 2020

@LeoQuote
Copy link
Collaborator

可以设置 cname 解析的, 这样会短一些

@funet8
Copy link

funet8 commented Nov 10, 2020

可以设置 cname 解析的, 这样会短一些
噢,用一个A域名cname解析到阿里云RDS上?

我把阿里云rds域名改为IP连接,但是IP可能会改变

@LeoQuote
Copy link
Collaborator

cname 就是 CNAME 记录啊, 不是 A 记录

@funet8
Copy link

funet8 commented Nov 10, 2020

cname 就是 CNAME 记录啊, 不是 A 记录

嗯,我明白的,A.com域名 cname解析到 rm-XXXXXXXX.mysql.rds.aliyuncs.com
非常感谢

@hhyo
Copy link
Owner

hhyo commented Nov 10, 2020

goInception已经会自动截断,切换就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/inception question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants