diff --git a/Command/DatabaseCreateCommand.php b/Command/DatabaseCreateCommand.php index e0e5836..749ebe5 100644 --- a/Command/DatabaseCreateCommand.php +++ b/Command/DatabaseCreateCommand.php @@ -82,8 +82,8 @@ class DatabaseCreateCommand extends AbstractCommand $dbName = $this->parseDbName($config['connection']['dsn']); $config['connection']['dsn'] = preg_replace( - '#dbname='.$dbName.'#', - 'dbname='.strtolower($config['adapter']), + '#dbname='.$dbName.';#', + '', $config['connection']['dsn'] );