From: J on
I'm getting this error when attempting to open a database with the
following DSN:

$dsn = array(
'phptype' => "mysql",
'username' => "bips",
'password' => "bips",
'hostspec' => "192.168.0.2",
'database' => "bips"
);

( yes, the username, password, and database name are really all the same
-- this is a test environment. )

Exactly what was "not found", and what am I missing?

Thanks,

--J.
From: Mark Wiesemann on
J wrote:

> I'm getting this error when attempting to open a database with the
> following DSN:
>
> $dsn = array(
> 'phptype' => "mysql",
> 'username' => "bips",
> 'password' => "bips",
> 'hostspec' => "192.168.0.2",
> 'database' => "bips"
> );
>
> ( yes, the username, password, and database name are really all the same
> -- this is a test environment. )
>
> Exactly what was "not found", and what am I missing?

Maybe you don't have MDB2_Driver_mysql installed?

If that's not the case, $obj->getUserInfo() in addition to
$obj->getMessage() should give you more information about the error.
(assuming that $obj is your MDB2 connection)

Regards,
Mark
From: J on
doh! I went back and read the FAQ...