sankar R has asked for the wisdom of the Perl Monks concerning the following question:

1.i have downloaded DBD-mysql-4.023 module

2. where i need to place it my system? either in perl lib directory or some other location in system?

how to install it properly?

i have already tried cpan install DBD::mysql but it cause error like "mysqladmin.exe not found. set your path correctly to the directory"

Replies are listed 'Best First'.
Re: how to install mysql driver for perl?
by Corion (Patriarch) on May 28, 2013 at 11:22 UTC

    Have you read the error message? It contains instructions.

    Have you followed the instructions from the error message?

    Have you read the installation instructions distributed with the module? Also, the README document distributed with the module?

    Have you consulted with your system administrator on how to install mysqladmin.exe?

Re: how to install mysql driver for perl?
by marto (Cardinal) on May 28, 2013 at 11:26 UTC

    As mentioned in the chatterbox, you need to ensure that mysqladmin.exe exists on the machine in question, and that it's in your system PATH. Install via cpan:

    c:\>cpan DBD::mysql

    via PPM:

    c:\>ppm install DBD::mysql

    As always, you should read and understand the installation documentation. DBD::mysql, and README (which mentions an install.html file).