Re: MDB2: "Not found"

From: Date: Fri, 05 Jan 2007 18:59:53 +0000
Subject: Re: MDB2: "Not found"
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26257@lists.php.net to get a copy of this message
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

« previous php.pear.general (#26257) next »