modify upgrade script

This commit is contained in:
obdev 2023-03-27 12:11:42 +00:00 committed by ob-robot
parent 2d48e1d8d2
commit 6c22fc4d17
3 changed files with 3 additions and 3 deletions

View File

@ -581,7 +581,7 @@ if __name__ == '__main__':
password = get_opt_password()
timeout = int(get_opt_timeout())
logging.info('parameters from cmd: host=\"%s\", port=%s, user=\"%s\", password=\"%s\", timeout=\"%s\", log-file=\"%s\"',\
host, port, user, password, log_filename)
host, port, user, password, timeout, log_filename)
do_check(host, port, user, password, timeout, upgrade_params)
except mysql.connector.Error, e:
logging.exception('mysql connctor error')

View File

@ -2088,7 +2088,7 @@
# password = get_opt_password()
# timeout = int(get_opt_timeout())
# logging.info('parameters from cmd: host=\"%s\", port=%s, user=\"%s\", password=\"%s\", timeout=\"%s\", log-file=\"%s\"',\
# host, port, user, password, log_filename)
# host, port, user, password, timeout, log_filename)
# do_check(host, port, user, password, timeout, upgrade_params)
# except mysql.connector.Error, e:
# logging.exception('mysql connctor error')

View File

@ -2088,7 +2088,7 @@
# password = get_opt_password()
# timeout = int(get_opt_timeout())
# logging.info('parameters from cmd: host=\"%s\", port=%s, user=\"%s\", password=\"%s\", timeout=\"%s\", log-file=\"%s\"',\
# host, port, user, password, log_filename)
# host, port, user, password, timeout, log_filename)
# do_check(host, port, user, password, timeout, upgrade_params)
# except mysql.connector.Error, e:
# logging.exception('mysql connctor error')