- 2007-04-16
- php
app/config/database.phpのコメントに惑わされてはいけません。
/*
...
* host =>
* the host you connect to the database
* MySQL 'localhost' to add a port number use 'localhost:port#'
* PostgreSQL 'localhost' to add a port number use 'localhost port=5432'
*
*/
実は'host' => 'localhost port=5432'ではなく'port' => 5432を追加すればOK。