check if database name is not empty in install process
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user