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

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.

你可能感兴趣的:(mysql,数据库,职场,休闲)