{我想在windows环境下编写perl程序和使用mysql,怎么做?悬赏分:10-提问时间2009-5-1308:17谁能告诉我,安装了perl已经,可mysql怎么弄~~怎么运行啊}解决了吗?该怎么一步一步弄啊?讨...
{我想在windows环境下编写perl程序和使用mysql,怎么做?
悬赏分:10 - 提问时间2009-5-13 08:17
谁能告诉我,安装了perl已经,可mysql怎么弄~~怎么运行啊 }
解决了吗?该怎么一步一步弄啊?讨教……谢谢!
winXP cmd:
shell> perl -MCPAN -e shell
................ #ok
cpan> install DBI
................ #ok
cpan> install DBD::mysql
Set up gcc environment - 3.4.5 (mingw-vista special r3)
D:\MySQL\bin\MYSQLA~1.EXE: connect to server at 'localhost' failed
error: 'Access denied for user 'ODBC'@'localhost' (using password: NO)'
Problem running D:\MySQL\bin\MYSQLA~1.EXE - aborting ...
Warning: No success on command[C:\usr\bin\perl.exe Makefile.PL INSTALLDIRS=site]
CAPTTOFU/DBD-mysql-4.013.tar.gz
C:\usr\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
CAPTTOFU/DBD-mysql-4.013.tar.gz : writemakefile NO 'C:\usr\bin\per
l.exe Makefile.PL INSTALLDIRS=site' returned status 256
==============================================
求解……
展开