Comments (3)
感谢你的详细反馈!
请升级到 v1.3.0-42
版本后配置backup_tls
参数并重试.
from goinception.
经过几天的研究,现已根本解决Backup数据库mysql在执行备份时的SSL报错问题。
修改几个文件,session/core.go,session/session_inception.go,session/conn.go,cmd/importer/db.go
找到对应的数据库连接串:'addr := fmt.Sprintf("%s:%s@tcp(%s:%d)/%s?charset=%s&p........'
在末端加上 ‘tls=skip-verify’,加完的结果例子如下
addr := fmt.Sprintf("%s:%s@tcp(%s:%d)/%s?charset=%s&parseTime=True&loc=Local&autocommit=1&maxAllowedPacket=%d&tls=skip-verify"
即可解决备份时的时候,SSL链接报错的问题。
由于本人对Go语言不熟悉,不敢提PR,目前只是粗暴地直接加tls在所有需要连接数据库的位置,建议哪位大神可以将改配置添加到与backup-host/backup-port/username/password..那个配置一起,作为一个可配参数。
期待这个问题,早日得到支持,感恩
from goinception.
由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from goinception.
Related Issues (20)
- 有没有可能根据表格大小决定是否进行osc HOT 1
- 使用--masking,子查询内存在虚拟列直接报错
- 使用 delete join 时,不能正确生成数据备份与回滚语句 HOT 1
- json 配置 enable_blob_not_null 时,单独判断允许为 null 值
- goInception 使用 gh-ost 二进制文件异常 HOT 4
- 表的总字段长度,索引的长度检测;65535 的限制 HOT 1
- 创建视图包含以下语句报错Column 'num' in field list is ambiguous.
- 修改表备注时sqlsha1为空 HOT 4
- OceanBase goes online with SQL (DDL), it cannot generate a rollback statement HOT 1
- session\session.go:341:11: s.getAlterTablePostPart undefined (type *session has no field or method getAlterTablePostPart, but does have GetAlterTablePostPart) HOT 1
- drop partition + add partition 语法校验通过,执行失败 HOT 2
- sql_mode 设置了HIGH_NOT_PRECEDENCE时,建表语句 not null 检测报错 HOT 1
- 分区表分区键不包含在主键里,语法校验通过,执行失败
- 创建视图时报 SELECT list is not in GROUP BY clause and contains nonaggregated column
- 不支持使用了caching_sha2_password插件的MySQL用户吗? HOT 1
- row_number() over (partition by)验证不通过,但实际可以执行 HOT 6
- pt-osc执行报错
- 有100条sql执行,如何获取已经执行完成的sql的状态 HOT 1
- 缺乏对ARM架构的支持 HOT 2
- SQL检测 扫描/影响行数 SQL存在转义符时与实际不符 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goinception.