当前位置: 技术问答>linux和unix
雪地跪求redhat装mysql报错解决方法
来源: 互联网 发布时间:2016-10-05
本文导语: MySQL-client-5.1.51-1.glibc23.i386.rpm MySQL-server-5.1.51-1.glibc23.i386.rpm 在虚拟机上装mysql ,rpm安装包如上, rpm -qa |grep mysql ,没有任何输入(找不到) --------- 执行: rpm -ivh MySQL-server-5.1.51-1.glibc23.i386.rpm------------------- 报错...
MySQL-client-5.1.51-1.glibc23.i386.rpm MySQL-server-5.1.51-1.glibc23.i386.rpm
在虚拟机上装mysql ,rpm安装包如上, rpm -qa |grep mysql ,没有任何输入(找不到)
--------- 执行: rpm -ivh MySQL-server-5.1.51-1.glibc23.i386.rpm-------------------
报错 :
warning: MySQL-server-5.1.51-1.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
Your MySQL directory '/var/lib/mysql' has more than one PID file:
ls: /var/lib/mysql/*.pid: No such file or directory
Please check which one (if any) corresponds to a running server
and delete all others before repeating the MySQL upgrade.
error: %pre(MySQL-server-5.1.51-1.glibc23) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MySQL-server-5.1.51-1.glibc23
----------------执行 : rpm -ivh MySQL-client-5.1.51-1.glibc23.i386.rpm ------------
报错:
warning: MySQL-client-5.1.51-1.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
libncursesw.so.5 is needed by MySQL-client-5.1.51-1.glibc23
在网上找了半天 ,找不到结解决的方法. 有人帮助下吗 ????
在虚拟机上装mysql ,rpm安装包如上, rpm -qa |grep mysql ,没有任何输入(找不到)
--------- 执行: rpm -ivh MySQL-server-5.1.51-1.glibc23.i386.rpm-------------------
报错 :
warning: MySQL-server-5.1.51-1.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
Your MySQL directory '/var/lib/mysql' has more than one PID file:
ls: /var/lib/mysql/*.pid: No such file or directory
Please check which one (if any) corresponds to a running server
and delete all others before repeating the MySQL upgrade.
error: %pre(MySQL-server-5.1.51-1.glibc23) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MySQL-server-5.1.51-1.glibc23
----------------执行 : rpm -ivh MySQL-client-5.1.51-1.glibc23.i386.rpm ------------
报错:
warning: MySQL-client-5.1.51-1.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
libncursesw.so.5 is needed by MySQL-client-5.1.51-1.glibc23
在网上找了半天 ,找不到结解决的方法. 有人帮助下吗 ????
|
Your MySQL directory '/var/lib/mysql' has more than one PID file:
ls: /var/lib/mysql/*.pid: No such file or directory
Please check which one (if any) corresponds to a running server
and delete all others before repeating the MySQL upgrade.
-------------------------------
你是不是以前转过 没有卸载干净!
先检查你现在的是不是有mysql正启动?如果有启动 先停止 然后卸载 卸载完了再装新版本。
ls: /var/lib/mysql/*.pid: No such file or directory
Please check which one (if any) corresponds to a running server
and delete all others before repeating the MySQL upgrade.
-------------------------------
你是不是以前转过 没有卸载干净!
先检查你现在的是不是有mysql正启动?如果有启动 先停止 然后卸载 卸载完了再装新版本。