DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(mysql.info.gz) ActiveState Perl

Info Catalog (mysql.info.gz) Perl installation (mysql.info.gz) Perl support (mysql.info.gz) Perl support problems
 
 2.13.2 Installing ActiveState Perl on Windows
 ---------------------------------------------
 
 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 (a "DOS window").
 
    * 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 previously 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
 
 This procedure should work at least with ActiveState Perl Version 5.6.
 
 If you can't get the procedure to work, you should instead install the
 MyODBC driver and connect to the MySQL server through ODBC:
 
      use DBI;
      $dbh= DBI->connect("DBI:ODBC:$dsn",$user,$password) ||
        die "Got error $DBI::errstr when connecting to $dsn\n";
 
Info Catalog (mysql.info.gz) Perl installation (mysql.info.gz) Perl support (mysql.info.gz) Perl support problems
automatically generated byinfo2html