Database Drivers (DBDs)
The success of DBI is that it is only half of the story. The other half is a DBD, or a database driver. DBI provides the interface and framework for the drivers, but it’s the database drivers that do the real work. Drivers implement the DBI methods for the private interface functions of the corresponding database engine.
Unless you’re developing a sophisticated database application, you probably don’t care about the drivers except that you want to install the correct one. Table 12-1 lists database servers, where you can find them, and the DBD driver designed for it. (The freeware or shareware database servers are available for download, and some of the commercial servers offer evaluation copies for download.)
Table 12-1. Database servers
Server | URL | DBD |
---|---|---|
DB2 | DBD::DB2 | |
Empress | DBD::Empress | |
Fulcrum | DBD::Fulcrum | |
Informix | DBD::Informix | |
Ingres | DBD::Ingres | |
miniSQL | DBD::mSQL | |
MySQL | DBD::mysql | |
Oracle | DBD::Oracle | |
PostgreSQL | DBD::Pg | |
QuickBase | DBD::QBase | |
Solid | DBD::Solid | |
Sybase | DBD::Sybase |
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.