-
-
Notifications
You must be signed in to change notification settings - Fork 557
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
ERROR 9002 (28000): SSL connection is required. Please specify SSL options and retry #285
Comments
备份功能是通过MySQL Slave复制协议实现的,以模拟从库的方式读取Binlog. |
感谢您的解答 |
既然关闭SSL可以备份, 说明协议是没问题的. 另外,如果你熟悉golang的话,可以按如下方式测试:
PS: |
另外你可以测试 |
我用上面的方法测试了一下,加上
接下来我应该怎么做,才能把 |
|
我在archery里的
|
更新了版本,可以试一下. + if s.opt.ssl != "" {
+ switch s.opt.ssl {
+ case "preferred", "true", "required":
+ cfg.TLSConfig = &tls.Config{InsecureSkipVerify: true}
+ }
+ }
+ |
您好,备份成功了,回滚语句也可以正常下载了。我看日志里还有一些kill connection错误,麻烦看一下是否有影响吧。谢谢
|
这个可以忽略,只是断开binlog复制,我优化一下. |
OK,那暂时没问题了。多谢 |
描述
Azure的MSYQL服务器开启在强制SSL,我在执行语句时日志报“ERROR 9002 (28000): SSL connection is required. Please specify SSL options and retry”,--ssl=required参数已经添加过了,请问这个如何解决谢谢。
重现
通过arcerhy执行SQL,选择【备份】
环境
错误日志:
time="2020/12/17 15:00:25.789" level=info msg="create BinlogSyncer with config {2000111114 mysql host01.mysql.database.chinacloudapi.cn 3306 mysql_user@host01 false false false UTC true 0 0s 0s 0 false false 0}" file=binlogsyncer.go func=NewBinlogSyncer line=144
time="2020/12/17 15:00:25.789" level=info msg="begin to sync binlog from position (mysql-bin.000012, 5464107)" file=binlogsyncer.go func=StartSync line=359
time="2020/12/17 15:00:25.795" level=info msg="Start sync error: ERROR 9002 (28000): SSL connection is required. Please specify SSL options and retry.\x00\n" file=parser.go func=parserBinlog line=249
time="2020/12/17 15:00:25.795" level=info msg="syncer is closing..." file=binlogsyncer.go func=close line=175
The text was updated successfully, but these errors were encountered: