We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f85ccc3 commit be3e939Copy full SHA for be3e939
mysql.py
@@ -92,6 +92,8 @@ def replicate_slave_from_master(master):
92
print('Importing MySQL database which is {0}GB, this might take a while...'.format(round(int(database_file_size) / (1024*1024*1024*1.0), 1)))
93
run('sudo -i mysql -uroot < dump.sql')
94
95
+ run('rm dump.sql')
96
+
97
run_mysql_command("START SLAVE")
98
run_mysql_command("SET GLOBAL slow_query_log=ON")
99
0 commit comments