Home >Database >Mysql Tutorial >Linux下安装MySQL出现“ls: /var/lib/mysql/*.pid: 没有那个文件

Linux下安装MySQL出现“ls: /var/lib/mysql/*.pid: 没有那个文件

不言
不言Original
2018-05-16 15:30:202712browse

环境 RedHat Linux 9 VWWare 8.0 SSH 3.2.9 Putty 0.62 MySQL 3.2 MySQL 5.5 问题 Linux 下安装 MySQL 出现如下错误: warning: MySQL-server-5.5.28-1.linux2.6.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5Preparing... #########################

环境

RedHat Linux 9 + VWWare 8.0 + SSH 3.2.9 + Putty 0.62 + MySQL 3.2 + MySQL 5.5

问题

Linux下安装MySQL出现如下错误:

warning: MySQL-server-5.5.28-1.linux2.6.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                                                            ########################################### [100%]
You have more than one PID file:
ls: /var/lib/mysql/*.pid: 没有那个文件或目录
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.5.28-1.linux2.6) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping MySQL-server-5.5.28-1.linux2.6

解决

尝试过加参数—nodeps、重启Linux,未果。待解决。还请各位赐教。

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn