RPM安装MYSQL没有用

inmers 2011-11-06 09:53:42
[root@localhost share]# rpm -ivh MySQL-server-5.5.17-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/greek.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/hebrew.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server-5.5.17-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
[root@localhost share]# rpm -ivh MySQL-client-5.5.17-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-client ########################################### [100%]
[root@localhost share]# service mysql start
mysql: unrecognized service
[root@localhost share]# rpm -q mysql
package mysql is not installed

以上就是安装的信息,按理说这样应该就自动启动了,可我这个竟然说包没有安装,网上找了很多资料但都没有说联包都没有安装的提示,/etc/rc.d/init.d/下更本就没有mysqld 这个东西,高手帮忙看看
...全文
511 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
ybgba 2013-10-14
  • 打赏
  • 举报
回复
这个可能是mysql-libs导致的,你可以试着: rpm -qa | grep mysql-lib 找到rpm包,然后用rpm -e删除,再重新安装应该就可以了。
Hirosue 2013-10-13
  • 打赏
  • 举报
回复
一般启动服务时,用service xx start,都需要在名字后加个d ,代表这个服务是个守护进程。 比如说vsftpd sshd httpd ………………
iihero_ 2013-10-13
  • 打赏
  • 举报
回复
强制安装: rpm -ivh --force MySQL-server-5.5.17-1.linux2.6.x86_64.rpm MySQL-server包是必须要安装的
JPF1024 2013-10-13
  • 打赏
  • 举报
回复
你试试 service mysqld start 我每次启动都是这样。
nel0511 2013-10-12
  • 打赏
  • 举报
回复
引用 6 楼 cnHim 的回复:
rpm -ivh --force MySQL-server-5.5.17-1.linux2.6.x86_64.rpm
我的跟楼主一样,用了这个命令就ok了。 Preparing... ########################################### [100%] 1:MySQL-server ########################################### [100%] 2013-10-13 01:57:26 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2013-10-13 01:57:26 3180 [Note] InnoDB: The InnoDB memory heap is disabled .... WARNING: Default config file /etc/my.cnf exists on the system This file will be read by default by the MySQL server If you do not want to use this, either remove it, or use the --defaults-file argument to mysqld_safe when starting the server
cnHim 2011-11-10
  • 打赏
  • 举报
回复
rpm -ivh --force MySQL-server-5.5.17-1.linux2.6.x86_64.rpm
inmers 2011-11-07
  • 打赏
  • 举报
回复
自己顶下
inmers 2011-11-06
  • 打赏
  • 举报
回复
我看网上的文章,一般RPM后会1:MySQL-server-community ########################################### [100%]
这个提示,而我只是显示了贴头开头我贴的那些信息,不知道为什么。是不是要安什么其它关联的东西,关键是它也没报错了出来,都不知道要安装什么
中国风 2011-11-06
  • 打赏
  • 举报
回复
建议去MySql版问问,给转过去
inmers 2011-11-06
  • 打赏
  • 举报
回复
[root@localhost share]# rpm -qa | grep -i mysql
MySQL-devel-5.5.17-1.linux2.6.x86_64
MySQL-shared-5.5.17-1.linux2.6.x86_64
MySQL-client-5.5.17-1.linux2.6.x86_64
MySQL-embedded-5.5.17-1.linux2.6.x86_64
mysql-libs-5.1.52-1.linux2.6.x86_64

唯独没有MySQL-server-5.5.17-1.linux2.6.x86_64
rucypli 2011-11-06
  • 打赏
  • 举报
回复
rpm -qa | grep -i mysql

56,679

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧