modify upgrade script
This commit is contained in:
parent
2d48e1d8d2
commit
6c22fc4d17
@ -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')
|
||||
|
@ -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')
|
||||
|
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user