ceontOS6.2安装MYSQL求助!
安装mysql时出现一下提示:
[root@localhost mysql5.5]# rpm -ih MySQL-server-5.5.25-1.linux2.6.i386.rpm
########################################### [100%]
file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/greek.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/hebrew.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server-5.5.25-1.linux2.6.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
[root@localhost mysql5.5]# service mysql start
mysql: unrecognized service
[root@localhost mysql5.5]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
各位知道是什么原因引起的吗?
[解决办法]
看下是不是已经装过5.1的了,或者之前装了没卸干净
[解决办法]
这只是服务端吧,当然Mysql命令没有用了,netstat -tanlp看看有没有mysql就知道了,我自己安基本都安全的:
-rw-r--r--. 1 root root 320751 Feb 2 16:27 memcached-1.4.13.tar.gz
-rw-r--r--. 1 root root 177571840 Apr 3 19:55 MySQL-5.5.22-1.linux2.6.i386.tar
-rw-r--r--. 1 root root 16890978 Mar 2 15:17 MySQL-client-5.5.22-1.linux2.6.i386.rpm
-rw-r--r--. 1 root root 6264532 Mar 2 15:18 MySQL-devel-5.5.22-1.linux2.6.i386.rpm
-rw-r--r--. 1 root root 61661712 Mar 2 15:19 MySQL-embedded-5.5.22-1.linux2.6.i386.rpm
-rw-r--r--. 1 root root 51432812 Mar 2 15:16 MySQL-server-5.5.22-1.linux2.6.i386.rpm
-rw-r--r--. 1 root root 1920087 Mar 2 15:18 MySQL-shared-5.5.22-1.linux2.6.i386.rpm
-rw-r--r--. 1 root root 39395534 Mar 2 15:18 MySQL-test-5.5.22-1.linux2.6.i386.rpm