Copyright (C) 2000-2012 |
GNU Info (mysql.info)ActiveState PerlInstalling ActiveState Perl on Windows -------------------------------------- To install the MySQL `DBD' module with ActiveState Perl on Windows, you should do the following: * Get ActiveState Perl from `http://www.activestate.com/Products/ActivePerl/index.html' and install it. * Open a DOS shell. * If required, set the HTTP_proxy variable. For example, you might try: set HTTP_proxy=my.proxy.com:3128 * Start the PPM program: C:\> c:\perl\bin\ppm.pl * If you have not already done so, install `DBI': ppm> install DBI * If this succeeds, run the following command: install ftp://ftp.de.uu.net/pub/CPAN/authors/id/JWIED/DBD-mysql-1.2212.x86.ppd The above should work at least with ActiveState Perl Version 5.6. If you can't get the above to work, you should instead install the *MyODBC* driver and connect to MySQL server through ODBC: use DBI; $dbh= DBI->connect("DBI:ODBC:$dsn","$user","$password") || die "Got error $DBI::errstr when connecting to $dsn\n"; automatically generated by info2www version 1.2.2.9 |