安装mysql时出现如下问题,各位大虾看下是何原因
[root@gltlinux src]# rpm -ivh MySQL-server-5.1.49-1.glibc23.i386.rpm
warning: MySQL-server-5.1.49-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: 没有那个文件或目录
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.49-1.glibc23) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MySQL-server-5.1.49-1.glibc23据以下的查看我的mysql卸载干净的[root@gltlinux src]# ls /var/lib/mysql
ls: /var/lib/mysql: 没有那个文件或目录
[root@gltlinux src]# find -name mysql
[root@gltlinux src]#
[root@gltlinux src]# rpm -ivh MySQL-server-5.1.49-1.glibc23.i386.rpm
warning: MySQL-server-5.1.49-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: 没有那个文件或目录
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.49-1.glibc23) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MySQL-server-5.1.49-1.glibc23据以下的查看我的mysql卸载干净的[root@gltlinux src]# ls /var/lib/mysql
ls: /var/lib/mysql: 没有那个文件或目录
[root@gltlinux src]# find -name mysql
[root@gltlinux src]#
好歹也选个容易上手的linux系统啊。