increasing dumpcommand compatibility mysql < v8

This commit is contained in:
Torsten 2022-06-02 16:38:49 +02:00
parent 5ae3ac82e1
commit fd9fcf4322
2 changed files with 470 additions and 1 deletions

View file

@ -8,5 +8,5 @@ str_now=datetime.datetime.now().strftime('%Y-%m-%d_%H%M%S')
filename="pfosten_"+str_now+".sql"
print("Dumping "+filename)
cmd="""mysqldump -ud0274241 -psuperpfosten! -h hoschis-tippspiel.de d0274241 > """+filename
cmd="""mysqldump --column-statistics=0 -ud0274241 -psuperpfosten! -h hoschis-tippspiel.de d0274241 > """+filename
os.system(cmd)

File diff suppressed because one or more lines are too long