Browse Source

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 năm trước cách đây
mục cha
commit
3176d098fe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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',