Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-05-09 11:15:25 +02:00 committed by GitHub
parent e77e9ccdf0
commit 2a2ae74c71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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