需要帮助,在Perl v5.10.0中安装mysql [英] Need help, installing mysql in Perl v5.10.0

查看:126
本文介绍了需要帮助,在Perl v5.10.0中安装mysql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个脚本来连接mysql数据库

I have written a script to connect the mysql db

展开 | 选择 | Wrap | 行号

推荐答案

看来你的安装DBD :: mysql没有成功。查看perl / lib或perl / site / lib文件夹中的DBD文件夹,查看它是否存在。
It appears your install DBD::mysql was not successful. Look in the DBD folder in the perl/lib or perl/site/lib folder and see if it is there.


感谢您的回复。


是的,DBD:mysql未成功安装。 mysql.pm在C:\ Perl \lib \ DBD或C:\ Perer \ site \lib \ DBD中不可用


通过谷歌我发现我们必须在命令提示符下执行''ppm install DBD:mysql''来安装DBD:mysql。但由于某些原因,这对我没有帮助。


我不知道安装DBD的方法:mysql成功。有没有其他方法来安装DBD:mysql?请帮我在我的v5.10 Perl中安装DBD:mysql。


先谢谢你的帮助。
Thanks for your reply.

Yes, the DBD:mysql is not installed successfully. The mysql.pm is not available either in C:\Perl\lib\DBD or C:\Perl\site\lib\DBD

Through google I find that we have to execute ''ppm install DBD:mysql'' in the command prompt to install DBD:mysql. But this is not helpful for me for some reason.

I don''t know the way to install DBD:mysql successfully. Is there any alternative way to install the DBD:mysql? Please help me to install DBD:mysql in my v5.10 Perl.

Thanks in Advance for all your help.


试试这个:


START>> PROGRAMS>> ACTIVEPERL>> PPM


一旦PPM GUI运行,请点击EDIT标签,然后选择PREFERENCES,然后单击REPOSITORIES选项卡,然后在SUGGESTED选项卡上选择uwinnipeg。然后单击添加。在查看uwinnipeg包之后,查看是否列出了DBD-mysql。如果没有尝试同样的事情并添加贿赂到存储库列表。一旦列出DBD-mysql模块,将其标记为安装然后安装它。如果我的说明令人困惑,请阅读PPM帮助文件。
Try this:

START>>PROGRAMS>>ACTIVEPERL>>PPM

Once thePPM GUI is running click on the EDIT tab, then PREFERENCES, then click on the REPOSITORIES tab then on the SUGGESTED tab select "uwinnipeg" and click on ADD. After the uwinnipeg packages are viewable see if DBD-mysql is listed. If not try the same thing and add "bribes" to the list of repositories. Once the DBD-mysql module is listed mark it for install then install it. Read the PPM help files if my instructions are confusing.


这篇关于需要帮助,在Perl v5.10.0中安装mysql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆