rpm -ivh MySQL-server-5.5.18-1.linux2.6.i386.rpm安装时发生错误 我通过rpm -ivh MySQL-server-5.5.18-1.linux2.6.i386.rpm命令生成的rpm文件,安装时发生错误 [root@localhost i386]# rpm -ivh MySQL-server-5.5.18-1.linux2.6.i386.rpm 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.18-1.linux2.6)) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping MySQL-server-5.5.18-1.linux2.6)
------解决方案--------------------
or you can simply copy wc from a newer coreutils package and leave it there worked for me...
从一个更新的coreutils包中拷贝一个wc过来就可以了
或者你去找个新一点的wc来替换你的系统上的/usr/bin/wc文件
------解决方案-------------------- 可能是版本的问题.lz不能连网吗?直接yum多方便
------解决方案-------------------- 直接yum insatall MySQL 就行,系统应该已经安装yum 了
------解决方案--------------------
------解决方案-------------------- You have more than one PID file: