- 论坛徽章:
- 0
|
原帖由 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:
C:\>perl -mDBI -e "print join ', ', DBI->available_drivers; "
output:
DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge
If you see nothing "mysql" in available drivers, you should install DBD-Mysql with ppm. like this:
After installed DBD-Mysql, you can read more online help from
C: \>perldoc DBD::mysql
or
C:\perldoc DBI
--ulmer
[ 本帖最后由 ulmer 于 2007-11-22 20:34 编辑 ] |
|