システム・プログラム関連のメモや最新技術についてのメモを掲載

PEAR::MDB2の使用に注意!

通常のパッケージと同様に
pear install MDB2 と
コマンドからインストールを行い
さぁ使ってみようと試みたがエラーが
出て動かない。。。

ちょっと調べてみたところ、PEAR::MDB2は
各DB用のドライバもインストールする必要が
あるようです。

そこで

 ○MySQLの場合
  pear install MDB2_Driver_mysql
 
 ○PostgreSQLの場合
  pear install MDB2_Driver_pgsql

とドライバをインストールした。

完了後、再び試したところ無事使えました。


You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Comments are closed.