summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/install.php b/install.php
index 83c5099ee..249d40729 100644
--- a/install.php
+++ b/install.php
@@ -954,6 +954,10 @@ function install_database_errors($database, $settings_file) {
// Run tasks associated with the database type. Any errors are caught in the
// calling function
$databases['default']['default'] = $database;
+ // Just changing the global doesn't get the new information processed.
+ // We tell tell the Database class to re-parse $databases.
+ Database::parseConnectionInfo();
+
try {
db_run_tasks($database['driver']);
}