mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
minor fix
This commit is contained in:
parent
7a290bfac6
commit
08ad73e34e
@ -993,8 +993,14 @@ function install_step4()
|
|||||||
|
|
||||||
$step5 = mysqli_query(
|
$step5 = mysqli_query(
|
||||||
$connection,
|
$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(
|
$step5 |= mysqli_query(
|
||||||
$connection,
|
$connection,
|
||||||
"GRANT ALL PRIVILEGES ON `$dbname`.* to pandora@$host"
|
"GRANT ALL PRIVILEGES ON `$dbname`.* to pandora@$host"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user