PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5
The PerlDBI 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 with MySQL, install the following:
The
DBImodule.The
DBD::mysqlmodule. This is the DataBase Driver (DBD) module for Perl.Optionally, the DBD module for any other type of database server you want to access.
Perl DBI is the recommended Perl interface. It replaces an older interface calledmysqlperl, which should be considered obsolete.
These sections contain information about using Perl with MySQL and writing MySQL applications in Perl:
For installation instructions for Perl DBI support, seeSection 2.12, “Perl Installation Notes”.
For an example of reading options from option files, seeSection 5.7.4, “Using Client Programs in a Multiple-Server Environment”.
For secure coding tips, seeSection 6.1.1, “Security Guidelines”.
For debugging tips, seeSection 5.8.1.4, “Debugging mysqld under gdb”.
For some Perl-specific environment variables, seeSection 4.9, “Environment Variables”.
For considerations for running on macOS, seeSection 2.4, “Installing MySQL on macOS”.
For ways to quote string literals, seeSection 9.1.1, “String Literals”.
DBI information is available at the command line, online, or in printed form:
Once you have the
DBIandDBD::mysqlmodules installed, you can get information about them at the command line with theperldoccommand:$> perldoc DBI$> perldoc DBI::FAQ$> perldoc DBD::mysqlYou can also use
pod2man,pod2html, and so on to translate this information into other formats.For online information about Perl DBI, visit the DBI website,http://dbi.perl.org/. That site hosts a general DBI mailing list.
For printed information, the official DBI book isProgramming the Perl DBI (Alligator Descartes and Tim Bunce, O'Reilly & Associates, 2000). Information about the book is available at the DBI website,http://dbi.perl.org/.
PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5