JavaScript Editor Source code editor     What Is Ajax 


Main Page

22.4. MySQL Perl API

The Perl DBI module provides a generic interface for database access. You can write a DBI script that works with many different database engines without change. To use DBI, you must install the DBI module, as well as a DataBase Driver (DBD) module for each type of server you want to access. For MySQL, this driver is the DBD::mysql module.

Perl DBI is the recommended Perl interface. It replaces an older interface called mysqlperl, which should be considered obsolete.

Installation instructions for Perl DBI support are given in Section 2.4.20, “Perl Installation Notes”.

DBI information is available at the command line, online, or in printed form:

JavaScript Editor Source code editor     What Is Ajax