Re: DB library
| From: | izgordu at uzem dot itu dot edu dot tr | Date: | Tue, 19 Jun 2007 13:38:05 +0000 |
| Subject: | Re: DB library | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27504@lists.php.net to get a copy of this message | ||
"This package has been superseded, but is still maintained for bugs and security
fixes. Use MDB2 instead."
Above expression is located on top of the page:
http://pear.php.net/package/DB/redirected
So i think using MDB2 is better. Actually i just started to exercise with MDB2
and have a problem. When i try to connect my existing database with this code:
$dsn = 'mysql://root:password@localhost/db_name';
$mdb2 = MDB2::connect($dsn);
if (PEAR::isError($mdb2))
die ($mdb2->getMessage());
i get this error:
MDB2 Error: not found