Skip to content

Commit

Permalink
修复备份库密码不可为空的BUG
Browse files Browse the repository at this point in the history
(cherry picked from commit d5e8115)
  • Loading branch information
xxlrr authored and hhyo committed Aug 2, 2020
1 parent 7f8b19f commit 6d0622c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/engines/inception.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_backup_connection():
backup_host = archer_config.get('inception_remote_backup_host')
backup_port = int(archer_config.get('inception_remote_backup_port', 3306))
backup_user = archer_config.get('inception_remote_backup_user')
backup_password = archer_config.get('inception_remote_backup_password')
backup_password = archer_config.get('inception_remote_backup_password', '')
return MySQLdb.connect(host=backup_host,
port=backup_port,
user=backup_user,
Expand Down

0 comments on commit 6d0622c

Please sign in to comment.