check if database name is not empty in install process

This commit is contained in:
Manuel Raynaud
2013-07-12 15:58:36 +02:00
parent f6cb119616
commit 3857827b98

View File

@@ -272,6 +272,10 @@ class Install extends ContainerAwareCommand
protected function tryConnection($connectionInfo, OutputInterface $output)
{
if (is_null($connectionInfo["dbName"])) {
return false;
}
$dsn = "mysql:host=%s";
try {