Skip to content

Commit 6cecfc4

Browse files
committed
Fixed: FS#477 - Problem if you have more than 9 servers
1 parent 3a4834e commit 6cecfc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public function add_database_server_record() {
230230
$from_ip = gethostbyname($conf['hostname']);
231231

232232
//* username for the ispconfig user
233-
$conf['mysql']['master_ispconfig_user'] = 'ispconfigserver'.$conf['server_id'];
233+
$conf['mysql']['master_ispconfig_user'] = 'ispcsrv'.$conf['server_id'];
234234

235235
//* Delete ISPConfig user in the master database, in case that it exists
236236
$this->dbmaster->query("DELETE FROM mysql.user WHERE User = '".$conf['mysql']['master_ispconfig_user']."' AND Host = '".$from_host."';");

0 commit comments

Comments
 (0)