databases-sample.yml 554 B

12345678910111213141516171819202122232425262728
  1. dev:
  2. propel:
  3. param:
  4. classname: DebugPDO
  5. test:
  6. propel:
  7. param:
  8. classname: DebugPDO
  9. all:
  10. propel:
  11. class: sfPropelDatabase
  12. param:
  13. classname: PropelPDO
  14. dsn: mysql:dbname=dbname;host=host_of_your_db
  15. username: dbusername
  16. password: dbuserpassword
  17. encoding: utf8
  18. persistent: true
  19. pooling: true
  20. session:
  21. class: sfPDODatabase
  22. param:
  23. dsn: mysql:host=dbhost;dbname=dbname
  24. username: dbusername
  25. password: dbuserpassword