108
109
Djinn.log_debug(`rm -rf /var/appscale/mysql-cluster`)
109
110
Djinn.log_debug(`mkdir -p /var/appscale/mysql-cluster/backup`)
112
111
master_ip = Djinn.get_db_master_ip
113
115
HelperFunctions.sleep_until_port_is_open(master_ip, DB_PORT)
114
116
# start API node after the master
115
117
Djinn.log_debug(`service mysql start`)