を接続することはできませんKohanaのは、私がKohanaのフレームワークで遊んでいる、と私は非常に最初のステップでstuckedだ
:Kohanaのは:私はpostgrsqlドライバが正しくインストールされ見ることができますINIErrorException [ Fatal Error ]: Class 'Database_Pgsql' not found
MODPATH/database/classes/kohana/database.php [ 78 ]
73
74 // Set the driver class name
75 $driver = 'Database_'.ucfirst($config['type']);
76
77 // Create the database connection instance
78 new $driver($name, $config);
79 }
80
81 return Database::$instances[$name];
82 }
83
{PHP internal call} » Kohana_Core::shutdown_handler()
これはPHPで私のdatabase.phpでファイル
<?php defined('SYSPATH') or die('No direct access allowed.');
return array
(
'default' => array
(
'type' => 'pgsql',
'connection' => array(
'dsn' => 'pgsql:host=localhost;dbname=globalgest',
'hostname' => 'localhost',
'database' => 'globalgest',
'username' => 'postgres',
'password' => 'xxxxxxx',
'persistent' => FALSE,
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => FALSE,
'profiling' => TRUE,
),
);
です
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 9.0.5
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0
他に何が欠けていますか?
ありがとうございました!
ネイティブは誰ですか?ドライバはデフォルトでpostgresqlにKohanaを使用していますか? – mongeta
デフォルトのpgドライバが動作しないのはなぜですか?このネイティブドライバーは良いですか?私はどこでより多くの情報を見つけることができますか? gitのページには何もありません...ありがとう – mongeta
ああ、ドライバで働いていることを忘れていました:-) – mongeta