瀏覽代碼

Update INSTALL.sh

Stefan Pejcic 1 年之前
父節點
當前提交
2a2ae74c71
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      INSTALL.sh

+ 2 - 2
INSTALL.sh

@@ -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" \