Posted by scottauge@gmail.com on 11/03/06 10:54
I cannot for the life of me get a connection using MDB2 to a PostgreSQL
8.1 database.
I can get a connection just fine using:
$db = pg_connect ("host=localhost port=5432 dbname=subscriber
user=scottauge password=mypassword");
and using a dsn:
$dsn="pgsql://scottauge:mypassword@tcp(localhost:5432)/subscriber";
on DB works just fine.
But when trying to use MDB2 I simply get the error "MDB2 Error: not
found"
Is there some sort of magic I am missing?
Is MDB2 compatible with PHP 5?
I have been using the DSN as found in
http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
Apache/2.0.55 (Unix) mod_ssl/2.0.55 OpenSSL/0.9.8a DAV/2 PHP/5.1.1
DB 1.7.6 stable
MDB2 2.2.2 stable
PEAR 1.4.5 stable
[Back to original message]
|