Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #918 from robin850/psql-init-port

Fix PostgreSQL's default port running the init command
commit 4968909779b239360cf52d30036c63452f94859b 2 parents 3b599ca + d8eada9
@marcj marcj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Propel/Generator/Command/InitCommand.php
2  src/Propel/Generator/Command/InitCommand.php
@@ -180,7 +180,7 @@ private function initSqlite(OutputInterface $output, DialogHelper $dialog)
private function initPgsql(OutputInterface $output, DialogHelper $dialog)
$host = $dialog->ask($output, 'Please enter your database host (without port)', 'localhost');
- $port = $dialog->ask($output, 'Please enter your database port', '3306');
+ $port = $dialog->ask($output, 'Please enter your database port', '5432');
$database = $dialog->ask($output, 'Please enter your database name');
return sprintf('pgsql:host=%s;port=%s;dbname=%s', $host, $port, $database);
Please sign in to comment.
Something went wrong with that request. Please try again.