2013-07-09 78 views

回答

4

試試這個:

我將建立和測試火鳥數據庫的ODBC連接(對於Windows有一個看看這個網站有一個想法:http://web.synametrics.com/firebird.htm)。

的conf.php文件將是這樣的:

define('PHPGRID_DB_HOSTNAME','hostname'); // hostname = your odbc connection name 
define('PHPGRID_DB_USERNAME', 'username'); // database user name 
define('PHPGRID_DB_PASSWORD', 'password'); // database password 
define('PHPGRID_DB_NAME', 'sampledb'); // database name 
define('PHPGRID_DB_TYPE', 'odbc'); // database type = odbc for "generic odbc" or try ibase 
define('PHPGRID_DB_CHARSET','utf8'); // OPTIONAL. Leave blank to use the default charset