Skip to content

Commit

Permalink
是否验证服务端SSL证书
Browse files Browse the repository at this point in the history
  • Loading branch information
feiazifeiazi committed Sep 5, 2024
1 parent 693f99f commit 9e2fc7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sql/engines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self, instance=None):
self.db_name = instance.db_name
self.mode = instance.mode
self.is_ssl = instance.is_ssl
self.is_ignore_certificate_error = instance.is_ignore_certificate_error
self.verify_ssl = instance.verify_ssl
self.show_db_name_regex = instance.show_db_name_regex
self.denied_db_name_regex = instance.denied_db_name_regex

Expand Down
2 changes: 1 addition & 1 deletion src/init_sql/v1.12.0.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

ALTER TABLE sql_instance ADD is_ignore_certificate_error tinyint(1) DEFAULT 0 COMMENT '是否忽略证书错误。1:忽略。0:不忽略,需要验证';
ALTER TABLE sql_instance ADD verify_ssl tinyint(1) DEFAULT 1 COMMENT '是否验证服务端SSL证书。1:验证。0:不验证';
ALTER TABLE sql_instance ADD show_db_name_regex varchar(1024) DEFAULT '' COMMENT '显示的数据库列表正则';
ALTER TABLE sql_instance ADD denied_db_name_regex varchar(1024) DEFAULT '' COMMENT '隐藏的数据库列表正则';

0 comments on commit 9e2fc7e

Please sign in to comment.