注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 IB客座主编(四)美国西蒙公..
 帮助

Resolve a problem when you can't install mysql server to Redhat system.


2007-04-18 16:46:29
 标签:mysql   [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://davis.blog.51cto.com/8940/24144
If you have some problems when you install mysql to Redhat system, you could follow the next steps, and you will success.

Correct installation steps for MySQL 5.0.24 on RedHat Enterprise Linux 4 with RPM:

Pre-reqs:
1. If you have /etc/my.cnf, delete it.
2. If you have /var/lib/mysql directory, remove it.

Then do:
1. /usr/sbin/setenforce 0
2. rpm -Uvh MySQL-server-standard-5.0.24-0.rhel4.i386.rpm MySQL-client-standard-5.0.24-0.rhel4.i386.rpm
3. /usr/sbin/setenforce 1

The server then starts okay once the rpm installation is complete.

本文出自 “D空间” 博客,请务必保留此出处http://davis.blog.51cto.com/8940/24144





    文章评论
 
2007-04-18 17:28:09
坐一下啦。。。

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: