Re: DBI interfacing with Mysql
[email protected] (John R Pierce)
| Newsgroups | perl.dbi.users |
|---|---|
| Message-ID | <[email protected]> |
On 09/21/10 2:32 AM, SUNANDA SURYA KUMARI Y (ssuryaku) wrote:
> Hi,
>
>
>
> I am facing problem with the interfacing of Mysql with perl module . It
> is showing me the following output.
>
>
>
>
>
> "install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
> contains:
>
> C:/Perl64/site/lib C:/Perl64/lib .) at (eval 5) line 3.
>
> Perhaps the DBD::mysql perl module hasn't been fully installed,
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I think that sums it up. It appears DBD::mysql hasn't been installed
on this system. from your C: path, I'm assuming you're on some sort of
Microsoft Windows... Are you sure you installed DBD::mysql with your
perl package?
> or perhaps the capitalisation of 'mysql' isn't right.
>
> Available drivers: CSV, DBM, ExampleP, File, Gofer, ODBC, Proxy, SQLite,
> Sponge."
certainly sounds like DBD:mysql isn't installed.
if you're using ActivePerl, I believe you can use something like...
ppm install DBD::mysql
(at a command line prompt) to install it from the ActivePerl library.
if you're using another perl port to Windows, refer to their
documentation on installing perl modules.