>데이터 베이스 >MySQL 튜토리얼 >MySQL 测试 sql-bench 出错_MySQL

MySQL 测试 sql-bench 出错_MySQL

WBOY
WBOY원래의
2016-06-01 13:44:47942검색

bitsCN.com

 

/run-all-tests --user=root --password=123456

Can't locate DBI.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at ./run-all-tests line 37.

BEGIN failed--compilation aborted at ./run-all-tests line 37.

出错原因 没有安装perl-DBI模块

[root@c60h sql-bench]# yum install perl-DBI perl-DBD-MySQL -y

Loaded plugins: fastestmirror, refresh-packagekit

Loading mirror speeds from cached hostfile

 * base: mirrors.btte.net

 * extras: mirrors.btte.net

 * updates: mirrors.btte.net

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package perl-DBD-MySQL.i686 0:4.013-3.el6 set to be updated

---> Package perl-DBI.i686 0:1.609-4.el6 set to be updated

--> Finished Dependency Resolution

 

Dependencies Resolved

 

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

 Package                              Arch                       Version                           Repository                  Size

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

Installing:

 perl-DBD-MySQL                       i686                       4.013-3.el6                       base                       134 k

 perl-DBI                             i686                       1.609-4.el6                       base                       705 k

 

Transaction Summary

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

Install       2 Package(s)

Upgrade       0 Package(s)

 

Total download size: 839 k

Installed size: 2.0 M

Downloading Packages:

(1/2): perl-DBD-MySQL-4.013-3.el6.i686.rpm                                                                   | 134 kB     00:00    

(2/2): perl-DBI-1.609-4.el6.i686.rpm                                                                         | 705 kB     00:00    

------------------------------------------------------------------------------------------------------------------------------------

Total                                                                                               299 kB/s | 839 kB     00:02    

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing     : perl-DBI-1.609-4.el6.i686                                                                                    1/2

  Installing     : perl-DBD-MySQL-4.013-3.el6.i686                                                                              2/2

 

Installed:

  perl-DBD-MySQL.i686 0:4.013-3.el6                                   perl-DBI.i686 0:1.609-4.el6                                 

 

Complete!

 

 

ylqmf的专栏

bitsCN.com
성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.