Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #159 from terokaisti/patch-2

Invoking propel:database:create throws a PDO connection error
  • Loading branch information...
commit 5a764c6181c36fd8fb8f22280cfd21b3936c2a7e 2 parents bd4c79d + b4475d2
@willdurand willdurand authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Command/DatabaseCreateCommand.php
View
4 Command/DatabaseCreateCommand.php
@@ -82,8 +82,8 @@ private function getTemporaryConfiguration($name, $config)
$dbName = $this->parseDbName($config['connection']['dsn']);
$config['connection']['dsn'] = preg_replace(
- '#dbname='.$dbName.'#',
- 'dbname='.strtolower($config['adapter']),
+ '#dbname='.$dbName.';#',
+ '',
$config['connection']['dsn']
);
Please sign in to comment.
Something went wrong with that request. Please try again.