Skip to content

Commit 3e78366

Browse files
author
Marius Cramer
committed
Merge branch 'master' into 'master'
mysql master-db during multiserver-setup / update See merge request !217
2 parents 37b2923 + 772dad9 commit 3e78366

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/lib/mysql.lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public function setDBData($host, $user, $password) {
104104

105105
public function setDBName($name) {
106106
$this->dbName = $name;
107+
$this->_iConnId = mysqli_connect($this->dbHost, $this->dbUser, $this->dbPass);
107108
if(!((bool)mysqli_query( $this->_iConnId, 'USE `' . $this->dbName . '`'))) {
108109
$this->close();
109110
$this->_sqlerror('Datenbank nicht gefunden / Database not found');

0 commit comments

Comments
 (0)