Top Level :: Database

Package Information: MDB2

» Summary » License
database abstraction layer BSD License
» Current Release » Bug Summary
2.5.0b5 (beta) was released on 2012-10-29 by danielc (Changelog)
Easy Install

Not sure? Get more info.

pear install MDB2

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/MDB2


2.4.1 (stable) was released on 2007-05-03 (Changelog)
Development Roadmap
  • Package Maintenance Rank: 71 of 225 packages with open bugs
  • Number of open bugs: 16 (354 total bugs)
  • Average age of open bugs: 4193 days
  • Oldest open bug: 6280 days
  • Number of open feature requests: 15 (102 total feature requests)

Report a new bug to MDB2
» Description
PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers.

It provides a common API for all supported RDBMS. The main difference to most
other DB abstraction packages is that MDB2 goes much further to ensure
portability. MDB2 provides most of its many features optionally that
can be used to construct portable SQL statements:
* Object-Oriented API
* A DSN (data source name) or array format for specifying database servers
* Datatype abstraction and on demand datatype conversion
* Various optional fetch modes to fix portability issues
* Portable error codes
* Sequential and non sequential row fetching as well as bulk fetching
* Ability to make buffered and unbuffered queries
* Ordered array and associative array for the fetched rows
* Prepare/execute (bind) named and unnamed placeholder emulation
* Sequence/autoincrement emulation
* Replace emulation
* Limited sub select emulation
* Row limit emulation
* Transactions/savepoint support
* Large Object support
* Index/Unique Key/Primary Key support
* Pattern matching abstraction
* Module framework to load advanced functionality on demand
* Ability to read the information schema
* RDBMS management methods (creating, dropping, altering)
* Reverse engineering schemas from an existing database
* SQL function call abstraction
* Full integration into the PEAR Framework
* PHPDoc API documentation
» Maintainers » More Information

Packages that depend on MDB2

Dependencies for MDB2