increasing dumpcommand compatibility mysql < v8
This commit is contained in:
parent
5ae3ac82e1
commit
fd9fcf4322
2 changed files with 470 additions and 1 deletions
|
|
@ -8,5 +8,5 @@ str_now=datetime.datetime.now().strftime('%Y-%m-%d_%H%M%S')
|
||||||
|
|
||||||
filename="pfosten_"+str_now+".sql"
|
filename="pfosten_"+str_now+".sql"
|
||||||
print("Dumping "+filename)
|
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)
|
os.system(cmd)
|
||||||
|
|
|
||||||
469
tools/pfosten_2022-06-02_163647.sql
Normal file
469
tools/pfosten_2022-06-02_163647.sql
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue