quitening connection trial for testing database is there

This commit is contained in:
Ralf Becker 2016-06-02 12:28:15 +02:00
parent 956b1f139e
commit d12e2c806d

View File

@ -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