码迷,mamicode.com
首页 > 数据库 > 详细

CentOS 5 安装mysql-server失败,显示无事可做

时间:2016-10-20 11:50:48      阅读:226      评论:0      收藏:0      [点我收藏+]

标签:

安装mysql-service报错:

[root@JW31 yum.repos.d]# yum install mysql-service -y
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
c5-media                  100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

 

  1:安装yum仓库

  2:rpm-qa 查看mysql是否有

[root@JW31 yum.repos.d]# rpm -qa |mysql
-bash: mysql: command not found

 

wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-server-5.5.16-1.rhel4.i386.rpm/from/http://mysql.spd.co.il/

wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-client-5.5.16-1.rhel4.i386.rpm/from/http://mysql.spd.co.il/

wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-devel-5.5.16-1.rhel4.i386.rpm/from/http://mysql.spd.co.il/

  3:利用超级终端把下载好的三个文件复制到  /media/www/CentOS

 

CentOS 5 安装mysql-server失败,显示无事可做

标签:

原文地址:http://www.cnblogs.com/jw31/p/5980180.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!