跪求perl + mysql联接方法??

跪求perl + mysql联接方法??

想实现win2000下用perl访问mysql数据库,perl版本为 v5.8.8,mysql为5。0, 在网上找了N天,不知道如何实现??
跪求高人指点???
http://search.cpan.org/search?query=mysql&mode=all


QUOTE:
原帖由 lhep041 于 2007-11-22 10:29 发表
想实现win2000下用perl访问mysql数据库,perl版本为 v5.8.8,mysql为5。0, 在网上找了N天,不知道如何实现??
跪求高人指点???

Hi,
跪求 is durty words! please don't use it hier!!!

Firstly please check your perl. is CPAN module DB-driver for mysql already installed?
In windows Command line just type:

QUOTE:
C:\>perl -mDBI -e "print join ', ', DBI->available_drivers; "

output:

QUOTE:
DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge

If you see nothing "mysql" in available drivers, you should install DBD-Mysql with ppm. like this:

QUOTE:
c:\ppm install DBD-Msql

After installed DBD-Mysql, you can read more online help from
C: \>perldoc  DBD::mysql
or
C:\perldoc DBI

--ulmer

TO ulmer:
第一个命令语法错误.


QUOTE:
原帖由 __lxmxn__ 于 2007-11-22 19:59 发表
TO ulmer:
第一个命令语法错误.

thx,  
typo:  a comma should be between joi ', ' , DBI....