Update INSTALL.sh

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

View File

@ -677,7 +677,7 @@ run_mysql_docker_container() {
sed -i "s/\"mysql_password\": \".*\"/\"mysql_password\": \"${MYSQL_ROOT_PASSWORD}\"/g" /usr/local/admin/config.json
sed -i "s/\"mysql_user\": \".*\"/\"mysql_user\": \"panel\"/g" /usr/local/admin/config.json
sed -i "s/password = \".*\"/password = \"${MYSQL_ROOT_PASSWORD}\"/g" /usr/local/admin/db.cnf
sed -i "s/user = \".*\"/user = \"root\"/g" /usr/local/admin/db.cnf
sed -i "s/user = \".*\"/user = \"panel\"/g" /usr/local/admin/db.cnf
else
radovan 1 "Installation failed! Unable to start docker container for MySQL."