mbn_18

zf2 db settings

Oct 11th, 2012
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. <?php
  2.  
  3. // Configure the DB instance and make it avilable to all modules - Miki
  4. return array(
  5.     'db' => array(
  6.         'driver'    => 'Pdo',
  7.         'dsn'       => "pgsql:host=127.0.0.1;dbname=db",
  8.         'username'  => 'user',
  9.         'password'  => 'pass',
  10.     ),
  11. //    'db' => array(
  12. //        'driver'    => 'Pgsql',
  13. //        'database'  => 'db',
  14. //        'username'  => 'user',
  15. //        'password'  => 'pass',
  16. //        'hostname'  => '127.0.0.1',
  17. //    ),
  18. );
Advertisement
Add Comment
Please, Sign In to add comment