Error: package MySQL-Cluster-server-gpl is not relocatable

Error: package MySQL-Cluster-server-gpl is not relocatable

rpm包安装异常,--prefix 参数不能重定位,安装到另一个目录

[root@nagiosmysql1 tmp]# rpm -ivh --prefix /mysql/  MySQL-Cluster-server-gpl-7.3.6-2.el6.x86_64.rpm
error: package MySQL-Cluster-server-gpl is not relocatable

查看包信息:

[root@nagiosmysql1 tmp]# rpm -qpi MySQL-Cluster-server-gpl-7.3.6-2.el6.x86_64.rpm
Name        : MySQL-Cluster-server-gpl     Relocations: (not relocatable)
Version     : 7.3.6                             Vendor: Oracle and/or its affiliates
Release     : 2.el6                         Build Date: 2014年07月02日 星期三 17时36分35秒
Install Date: (not installed)               Build Host: vitro45
Group       : Applications/Databases        Source RPM: MySQL-Cluster-gpl-7.3.6-2.el6.src.rpm
Size        : 642450056                        License: Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Under GPL license as shown in the Description field.
Signature   : DSA/SHA1, 2014年07月05日 星期六 02时04分53秒, Key ID 8c718d3b5072e1f5
Packager    : MySQL Release Engineering
URL         : http://www.mysql.com/
Summary     : MySQL: a very fast and reliable SQL database server
Description :
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. MySQL Server
is intended for mission-critical, heavy-load production systems as well
as for embedding into mass-deployed software. MySQL is a trademark of
Oracle and/or its affiliates

The MySQL software has Dual Licensing, which means you can use the MySQL
software free of charge under the GNU General Public License
(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
licenses from Oracle and/or its affiliates if you do not wish to be bound by the terms of
the GPL. See the chapter "Licensing and Support" in the manual for
further info.

The MySQL web site (http://www.mysql.com/) provides the latest news and
information about the MySQL software.  Also please see the documentation
and the manual for more information.

This package includes the MySQL server binary as well as related utilities
to run and administer a MySQL server.

If you want to access and work with the database, you have to install
package "MySQL-Cluster-client-gpl" as well!

无法修改安装目录的,也就是不能重定位,只有去掉 --prefix参数

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29500582/viewspace-1300297/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29500582/viewspace-1300297/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值