mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
quitening connection trial for testing database is there
This commit is contained in:
parent
956b1f139e
commit
d12e2c806d
@ -184,7 +184,7 @@ class setup_cmd_database extends setup_cmd
|
|||||||
substr(str_replace(array('.', '-'), '_', $this->db_name),0,self::MAX_DB_NAME_LEN);
|
substr(str_replace(array('.', '-'), '_', $this->db_name),0,self::MAX_DB_NAME_LEN);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
$msg = $this->connect();
|
$msg = @$this->connect();
|
||||||
}
|
}
|
||||||
catch (Api\Exception\WrongUserinput $e) {
|
catch (Api\Exception\WrongUserinput $e) {
|
||||||
// db or user not working --> connect as root and create it
|
// db or user not working --> connect as root and create it
|
||||||
|
Loading…
Reference in New Issue
Block a user