400 break;
401 }
402 }
403 }
404
405 // We still don't have a connection?
406 if (! $this->connID) {
407 throw new DatabaseException(sprintf(
408 'Unable to connect to the database.%s%s',
409 PHP_EOL,
410 implode(PHP_EOL, $connectionErrors)
411 ));
412 }
413 }
414