DBIĭBD::mysql is a DBI driver, hence you need DBI. This may require choosing a "Custom installation" and selecting the appropriate option when running the MySQL setup program. If you are using Windows and need to compile from sources (which is only the case if you are not using ActivePerl or Strawberry Perl), then you must ensure that the header and library files are installed. You may also create client files by compiling from the MySQL source distribution and using configure -without-server These are sufficient, if the MySQL server is located on a foreign machine. For example, Fedora Linux distribution comes with RPM files (using YUM) mysql and mysql-server (use "yum search" to find exact package names). You need not install the actual MySQL database server, the client files and the development files are sufficient. For Windows, use ActivePerl or Strawberry Perl. For example, all Linux and FreeBSD distributions come with Perl. Preferably a version of Perl, that comes preconfigured with your system. If that doesn't help, you should check the section on "SUPPORT". "SOURCE INSTALLATION".įinally, if you encounter any problems, do not forget to read the section on known problems "KNOWN PROBLEMS". Installation from binaries and sources are both described in separate sections. If so, you will definitely need a C compiler. Otherwise you need to install from the sources. For details see the separate section "PREREQUISITES".ĭepending on your version of Perl, it might be possible to use a binary distribution of DBD::mysql. Before reading on, make sure that you have the prerequisites available: Perl, MySQL and DBI. This document describes the installation and configuration of DBD::mysql, the Perl DBI driver for the MySQL database. Red Hat Enterprise Linux (RHEL), CentOS and FedoraĭBD::mysql::INSTALL - How to install and configure DBD::mysql SYNOPSIS perl Makefile.PL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |