Search code examples
phppear

Configuartion for Pear DB Library


I am trying to connect to MYSQL database using the Pear DB library. IS there any settings i need to do if i want to work with Pear DB library?

Thanks


Solution

  • You don't need additional settings to use DB with MySQL. Note that DB has been superceded by MDB2, though. Since you're doing MySQL, you should use that. Note that you'll need either the MDB2_Driver_mysql or MDB2_Driver_mysqli