inception icon indicating copy to clipboard operation
inception copied to clipboard

The backup dbname is too long.

Open swords1999 opened this issue 7 years ago • 5 comments

因为备份数据库的库名是ip+端口+库名的,mysql库名有限制最长64字符,阿里云RDS的ip是一个长串的域名,太长了会报错。 The backup dbname 'rdsskjsdjwiqjsmq113aaa222.mysql.rds.aliyuncs.com-3306-business_business' is too long.

swords1999 avatar Apr 01 '17 07:04 swords1999

这个问题有人来修复么?

dikang123 avatar Jun 07 '17 05:06 dikang123

这个问题个人尝试,指定了--disable-remote-backup,按理来说,不进行备份,就不应该生成备份名字,但是阿里云RDS的实例,在审核的时候,依然报错备份名字太长。 源码的开发大牛们,能看看并修复一下吗?

BeautyLeo avatar Nov 28 '17 08:11 BeautyLeo

目前看这个问题还存在,是否还会更新修复掉啊。谢谢。

paopao5541 avatar Mar 29 '18 06:03 paopao5541

could you please fix this bug for db name too long, since we are using RDS, the domain name is the only way for parsing host. we can not use ip, because it is always changing. Thanks a lot for your contribution!

anlenshen avatar May 24 '18 06:05 anlenshen

I have made an workaround to add a search in /etc/resolv.conf to fix this issue

anlenshen avatar May 24 '18 09:05 anlenshen