Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
3e783660
Commit
3e783660
authored
Aug 16, 2015
by
Marius Cramer
Browse files
Merge branch 'master' into 'master'
mysql master-db during multiserver-setup / update See merge request !217
parents
37b29231
772dad9f
Changes
1
Show whitespace changes
Inline
Side-by-side
install/lib/mysql.lib.php
View file @
3e783660
...
...
@@ -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'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment