Commit 32d04275 authored by w4t's avatar w4t

wtserver 0.73

parent a0903cbc
......@@ -34,12 +34,9 @@ InstallISPConfig() {
fi
$SQL_COMMAND -uroot -p"$CFG_MYSQL_ROOT_PWD" -e "CREATE USER 'ispconfig'@'localhost' IDENTIFIED BY '$CFG_MYSQL_ISPCONFIG_PWD';"
$SQL_COMMAND -uroot -p"$CFG_MYSQL_ROOT_PWD" -e "GRANT ALL PRIVILEGES ON *.* TO 'ispconfig'@'localhost' WITH GRANT OPTION;"
$SQL_COMMAND -uroot -p"$CFG_MYSQL_ROOT_PWD" -e "ALTER USER 'ispconfig'@'localhost' IDENTIFIED VIA mysql_native_password USING PASSWORD('$CFG_MYSQL_ISPCONFIG_PWD');
FLUSH PRIVILEGES;"
$SQL_COMMAND -uroot -p"$CFG_MYSQL_ROOT_PWD" -e "ALTER USER 'ispconfig'@'localhost' IDENTIFIED VIA mysql_native_password USING PASSWORD('$CFG_MYSQL_ISPCONFIG_PWD');"
$SQL_COMMAND -uroot -p"$CFG_MYSQL_ROOT_PWD" -e "FLUSH PRIVILEGES;"
if [ "$CFG_ISPC" == "standard" ]; then
echo -n -e "$IDENTATION_LVL_1 Creating autoinstall configuration file... "
cat <<EOF > $AUTO_INSTALL_INI_LOCATION/autoinstall.ini
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment