1、下载MySQL
进入官网,找到下面两个文件并下载
MySQL-server-community-x.x.xx-x.rhel5.i386.rpm
MySQL-client-community-x.x.xx-x.rhel5.i386.rpm
进入官网,找到下面两个文件并下载
MySQL-server-community-x.x.xx-x.rhel5.i386.rpm
MySQL-client-community-x.x.xx-x.rhel5.i386.rpm
2、用rpm命令安装:
rpm -ivh MySQL-server-community-x.x.xx-x.rhel5.i386.rpm
rpm -ivh MySQL-client-community-x.x.xx-x.rhel5.i386.rpm
3、启动MySQL
执行命令:service mysqld start