51Testing软件测试论坛
标题:
linux下安装mysql时出现错误,请高手帮忙
[打印本页]
作者:
qiqino1
时间:
2012-7-5 19:35
标题:
linux下安装mysql时出现错误,请高手帮忙
[root@qiqino1 MySQL]# ls
mysql-5.0.56.tar.gz
MySQL-client-community-5.0.37-0.rhel4.i386.rpm
MySQL-devel-community-5.0.37-0.rhel4.i386.rpm
MySQL-server-community-5.0.37-0.rhel4.i386.rpm
[root@qiqino1 MySQL]# rpm -ivh MySQL-client-community-5.0.37-0.rhel4.i386.rpm
warning: MySQL-client-community-5.0.37-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
perl(DBI) is needed by MySQL-client-community-5.0.37-0.rhel4.i386
Suggested resolutions:
perl-DBI-1.40-5.i386.rpm
[root@qiqino1 MySQL]# rpm -ivh MySQL-devel-community-5.0.37-0.rhel4.i386.rpm
warning: MySQL-devel-community-5.0.37-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-devel-community ########################################### [100%]
[root@qiqino1 MySQL]# rpm -ivh MySQL-server-community-5.0.37-0.rhel4.i386.rpm
warning: MySQL-server-community-5.0.37-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
perl(DBI) is needed by MySQL-server-community-5.0.37-0.rhel4.i386
Suggested resolutions:
perl-DBI-1.40-5.i386.rpm
[root@qiqino1 MySQL]#
[root@qiqino1 MySQL]# rpm -ivh MySQL-client-community-5.0.37-0.rhel4.i386.rpm
warning: MySQL-client-community-5.0.37-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
perl(DBI) is needed by MySQL-client-community-5.0.37-0.rhel4.i386
Suggested resolutions:
perl-DBI-1.40-5.i386.rpm
有以下问题:
1.是不是缺少了dbi?
2.我有linux的安装镜像,如何安装dbi?
请详细点,新手来的,在线等
作者:
haven6
时间:
2012-7-6 10:49
是的,网上去下载perl-DBI-1.40-5.i386.rpm
再,rpm -ivh perl-DBI-1.40-5.i386.rpm
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2