Merge branch 'ent-8073-No-esta-funcionando-correctamente-el-install-php-cuando-hace-los-ultimos-grants' into 'develop'
minor fix See merge request artica/pandorafms!4547
This commit is contained in:
commit
adb538dd71
|
@ -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…
Reference in New Issue