Update INSTALL.sh
This commit is contained in:
parent
e77e9ccdf0
commit
2a2ae74c71
|
@ -643,12 +643,12 @@ run_mysql_docker_container() {
|
|||
MYSQL_ROOT_PASSWORD=$(openssl rand -base64 -hex 9)
|
||||
|
||||
if [ "$REPAIR" = true ]; then
|
||||
echo "RAPAIR: Removing existing mysql database."
|
||||
docker stop openpanel_mysql
|
||||
docker rm openpanel_mysql
|
||||
docker volume rm openpanel_mysql
|
||||
docker volume rm openpanel_mysql_data
|
||||
fi
|
||||
|
||||
|
||||
# run the container
|
||||
docker run -d -p 3306:3306 --name openpanel_mysql \
|
||||
-e MYSQL_ROOT_PASSWORD="$MYSQL_ROOT_PASSWORD" \
|
||||
|
|
Loading…
Reference in a new issue