What is DBI?
The DBI 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.
Autore Matrixbob 2004/2005
Per usarlo occorre installare il modulo, e quindi seguire una delle 2 procedure.
[INSTALLAZIONE 1]
Scaricare:
DBD-mysql-2.9006.tar.gz
ed installarlo:
INSTALL - How to install and configure DBD::mysql
-----------------------------------------------------------------
SYNOPSIS
perl Makefile.PL [options]
make
make test
make install
[INSTALLAZIONE 2]
Usare il Perl Package Manager presente in ActivePerl:
BINARY INSTALLATION
Binary installation is possible in the most cases, depending on your system. I give some examples:
Windows
ActivePerl offers a PPM archive of DBD::mysql. All you need to do is typing
[1] ppm
[2] install DBI
[3] install DBD-mysql