From 772dad9fcee423a6f0ca3cbd93ddfc3c56aaec4c Mon Sep 17 00:00:00 2001 From: Florian Schaal Date: Sun, 16 Aug 2015 12:03:58 +0200 Subject: [PATCH] mysql master-db during multiserver-setup / update --- install/lib/mysql.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install/lib/mysql.lib.php b/install/lib/mysql.lib.php index c6078ca2b..11fd2ec37 100644 --- a/install/lib/mysql.lib.php +++ b/install/lib/mysql.lib.php @@ -104,6 +104,7 @@ class db extends mysqli public function setDBName($name) { $this->dbName = $name; + $this->_iConnId = mysqli_connect($this->dbHost, $this->dbUser, $this->dbPass); if(!((bool)mysqli_query( $this->_iConnId, 'USE `' . $this->dbName . '`'))) { $this->close(); $this->_sqlerror('Datenbank nicht gefunden / Database not found'); -- GitLab