Browse Source

fix a couple db names that got switched from localhost

Keith Newman 9 years ago
parent
commit
cc6b450ff8

+ 1 - 1
frameworks/PHP/kohana/application/config/database.php

@@ -14,7 +14,7 @@ return array
 		 * string   password    database password
 		 * boolean  persistent  use persistent connections?
 		 */
-	    'dsn'        => 'mysql:host=127.0.0.1;dbname=hello_world',
+	    'dsn'        => 'mysql:host=localhost;dbname=hello_world',
             'username'   => 'benchmarkdbuser',
             'password'   => 'benchmarkdbpass',
             'persistent' => FALSE,

+ 1 - 1
frameworks/PHP/phalcon-micro/public/index.php

@@ -8,7 +8,7 @@ try {
     $app['db'] = function() {
 
         return new \Phalcon\Db\Adapter\Pdo\Mysql(array(
-            'dsn'       => 'host=127.0.0.1;dbname=hello_world;charset=utf8',
+            'dsn'       => 'host=localhost;dbname=hello_world;charset=utf8',
             'username'   => 'benchmarkdbuser',
             'password'   => 'benchmarkdbpass',
             'persistent' => true