matrixfan0831
Limp Gawd
- Joined
- Jul 30, 2004
- Messages
- 276
Hi everyone,
I recently installed mysql and created a couple of databases. Someone told me that I should use perl to interact with mysql to build a reporting system. I have never used perl but I try running this code and always get this error:
C:\Documents and Settings\Administrator\Desktop\child>perl -w code.pl
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains:
C:/program files/perl/site/lib C:/program files/perl/lib .) at (eval 4) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge, mysqlPP.
at code.pl line 3
I downloaded activeperl and that is running hello world without a problem. I assume I need to install DBD:mysql so I downloaded DBD-mysql-4.006 but I get errors with the makefile.pl.
Any help would be appreciated.
I recently installed mysql and created a couple of databases. Someone told me that I should use perl to interact with mysql to build a reporting system. I have never used perl but I try running this code and always get this error:
C:\Documents and Settings\Administrator\Desktop\child>perl -w code.pl
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains:
C:/program files/perl/site/lib C:/program files/perl/lib .) at (eval 4) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge, mysqlPP.
at code.pl line 3
I downloaded activeperl and that is running hello world without a problem. I assume I need to install DBD:mysql so I downloaded DBD-mysql-4.006 but I get errors with the makefile.pl.
Any help would be appreciated.