瀏覽代碼

Possible fix for DB issues with PHPixie

When writing the phpixie database config file I used Silex as a reference. It used "tfbdata" as the database host. The default php benchmark implementation (only one that worked) used "locahost".

So I'm switching phpixie config file also to "localhost" database. If this fixes the problem, than perhaps other php implementations should also use that setup.
dracony 12 年之前
父節點
當前提交
3176d098fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      php-phpixie/assets/config/db.php

+ 1 - 1
php-phpixie/assets/config/db.php

@@ -7,7 +7,7 @@ return array(
 		'driver' => 'PDO',
 		
 		//'Connection' is required if you use the PDO driver
-		'connection'=>'mysql:host=tfbdata;dbname=hello_world',
+		'connection'=>'mysql:host=localhost;dbname=hello_world',
 		
 		// 'db' and 'host' are required if you use Mysqli driver
 		'db' => 'hello_world',