Hi,
I've found a bug in addConfig() method of sfPropelDatabase class that's causing problems when someone wants to connect to the database server using unix socket. There is an $options array and "socket" option is not listed in it, so it's skipped even if it is defined in database.yml
Also it is not being set and in the datasources array.
In the applied patch there is fix that works for me.
P.S. Even with this fix you can not connect using unix socket if you are setting full DSN in database.yml instead of
all:
propel:
class: sfPropelDatabase
param:
protocol: unix
phptype: pgsql # Database vendor
hostspec: localhost
database: dbname
username: user
password: pass
socket: /path/to/socket
but I believe this is caused by bug in Creole's parseDSN() method.