程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> MYSQL數據庫 >> MySQL綜合教程 >> MySQL 測試 sql-bench 出錯

MySQL 測試 sql-bench 出錯

編輯:MySQL綜合教程

 

/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的專欄

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved