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)
- 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
- 脱敏规则配置不符合预期
- support_collation对utf8mb3支持不太好 HOT 1
- 执行存储过程报错 HOT 7
- DEFAULT (CURRENT_DATE())验证不通过 HOT 3
- sql 检查字段与实际不符合也可以通过 HOT 3
- Slave_IO_Running: No, Slave_SQL_Running: No. Please make sure replication runs before using gh-ost. HOT 3
- CREATE DATABASE IF NOT EXISTS inception;这个语句能改写吗?会一直在等锁(Waiting for backup lock) HOT 3
- 提交sql上线的时候,提示表的例里面内容不能为空,其实我们业务上设计是可以的
- goInception 是否能支持MySQL 8.0 中的 with 语法呢 HOT 8
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.