minor fix

This commit is contained in:
alejandro.campos@artica.es 2021-11-23 16:29:25 +01:00
parent 7a290bfac6
commit 08ad73e34e

View File

@ -993,8 +993,14 @@ function install_step4()
$step5 = mysqli_query(
$connection,
"CREATE USER pandora@$host IDENTIFIED BY '".$random_password."'"
"CREATE USER IF NOT EXISTS pandora@$host"
);
mysqli_query(
$connection,
"SET PASSWORD FOR 'pandora'@'".$host."' = '".$random_password."'"
);
$step5 |= mysqli_query(
$connection,
"GRANT ALL PRIVILEGES ON `$dbname`.* to pandora@$host"