window perl mysql_windows下 perl 连接 mysql

该博客指导用户在Windows环境中安装Perl并配置MySQL,包括perl模块安装(如DBI和DBD::mysql)、遇到的问题及解决方案,涉及MingW环境设置和Cygwin可能的挑战。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

{我想在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

==============================================

求解……

展开

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值