Parcourir la source

218 Fixed db tests for zend-framework

Needed to add the username and password credentials
for connecting to the database.
mcocciaTE il y a 11 ans
Parent
commit
d66f178749
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4 2
      php-zend-framework/config/autoload/benchmarks.local.php

+ 4 - 2
php-zend-framework/config/autoload/benchmarks.local.php

@@ -2,7 +2,9 @@
 
 return array(
     'db' => array(
-        'driver' => 'Pdo',
-        'dsn'    => 'mysql:dbname=hello_world;host=127.0.0.1',
+        'driver'   => 'Pdo',
+        'dsn'      => 'mysql:dbname=hello_world;host=localhost;port=3306',
+        'username' => 'benchmarkdbuser',
+        'password' => 'benchmarkdbpass'
     ),
 );