failed: Can’t locate DBD/mysql.pm的解决办法
来源:互联网 发布:飞毛腿跑腿软件好吗 编辑:程序博客网 时间:2024/05/20 07:20
Perhaps the DBD::mysql perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘mysql’ isn’t right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge.
at bin/mysqlhotcopy line 177
今天解决了下,只需要安装perl-DBD-MySQL即可解决此问题。
yum install perl-DBD-MySQL
…
Dependencies Resolved
=====================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================
Installing:
perl-DBD-MySQL x86_64 3.0007-2.el5 base 148 k
Transaction Summary
=====================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 148 k
Is this ok [y/N]: y
Downloading Packages:
perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm | 148 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : perl-DBD-MySQL 1/1
Installed:
perl-DBD-MySQL.x86_64 0:3.0007-2.el5
Complete!
再执行,OK啦!
我的mysql.sock在/tmp 下
做一下软连接ln -s /tmp/mysql.sock /var/lib/mysql/
- failed: Can’t locate DBD/mysql.pm的解决办法
- failed: Can’t locate DBD/mysql.pm的解决办法
- install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC
- install_driver oracle failed can't locate dbd/oracle.pm in @inc
- Can't locate CPAN.pm in @INC的解决办法
- Can't locate Switch.pm in @INC 的解决办法
- Can't locate LibXML.pm
- 不能在线安装perl ----Can't locate CPAN.pm in @INC的解决办法
- Can't locate LWP/UserAgent.pm
- Can't locate Switch.pm in @INC
- Can't locate Tk.pm
- Can't locate CPAN.pm in @INC
- Can't locate CompEMdbconsole.pm in @INC
- Can't locate ExtUtils/MakeMaker.pm
- Can't locate Net/HandlerSocket.pm
- Can't locate Time/HiRes.pm
- Can't locate Switch.pm in @INC
- Can't locate ExtUtils/MakeMaker.pm
- leetcode-506-Relative Ranks
- 浅谈Django的Q查询以及AngularJS的Datatables分页插件
- leetcode 502. IPO
- 实现SDcard中的文件读写功能
- 关于接口测试的总结
- failed: Can’t locate DBD/mysql.pm的解决办法
- 工作邮箱的几点浅见
- directx数学基础1
- ZKFC(Zookeeper Failover Controller)原理【详细版】
- jsp + servlet 通过a 标签下载文件
- bss,data,text,rodata,堆,栈,常量段
- android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 14
- Drawable 文件夹——xml文件
- 1060. Are They Equal (25)