mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
minor fix
This commit is contained in:
parent
7a290bfac6
commit
08ad73e34e
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user