On Windows, you should do the following to install the MySQL
DBD
module with ActiveState Perl:
Get ActiveState Perl from http://www.activestate.com/Products/ActivePerl/ and install it.
Open a console window.
If necessary, set the
HTTP_proxy
variable. For example, you might try a setting like this:Press CTRL+C to copyC:\> set HTTP_proxy=my.proxy.com:3128
Start the PPM program:
Press CTRL+C to copyC:\> C:\perl\bin\ppm.pl
If you have not previously done so, install
DBI
:Press CTRL+C to copyppm> install DBI
If this succeeds, run the following command:
Press CTRL+C to copyppm> install DBD-mysql
This procedure should work with ActiveState Perl 5.6 or higher.
If you cannot get the procedure to work, you should install the ODBC driver instead and connect to the MySQL server through ODBC:
Press CTRL+C to copyuse DBI; $dbh= DBI->connect("DBI:ODBC:$dsn",$user,$password) || die "Got error $DBI::errstr when connecting to $dsn\n";