DBI and libdbi are two main database independent abstraction layers or interfaces. The explanation given here will provide an insight on the terms and package names available for our distribution.
DBI stands for DataBase Interface. It is the standard database interface module for Perl. It defines a set of methods, variables and conventions that provide a consistent database interface independent of the actual database being used.
Provided by perl-DBI package.
DBD stands for DataBase Driver. It is the driver that allows Database to interact with DBI.
DBD::mysql – Provided by perl-DBD-MySQL package
DBD::Pg – Provided by perl-DBD-Pg package
DBD::SQLite – Provided by perl-DBD-SQLite package
DBIx stands for DBI Extension. They are extensions for DBI.
DBIx::Simple – Provided by perl-DBIx-Simple package
Examples of projects using DBI.
libdbi is a database independent abstraction layer in C, similar to the DBI in Perl.
Provided by libdbi and libdbi-devel packages.
In order to use the libdbi framework with a database, we must install the drivers for that particular type of database.
libdbi MySQL driver – Provided by libdbi-dbd-mysql package
libdbi PgSQL driver – Provided by libdbi-dbd-pgsql package
libdbi SQLite driver – Provided by libdbi-dbd-sqlite package
Examples of projects using libdbi.
FreeTDS Protocol (Provides access to MSSQL Database & SAP Sybase ASE Database)
You may go back to any of the following sections.
Installing MySQL Server
Customizing MySQL Server