1.下载MySQL
wget wget wget http://dev.mysql.com/Downloads/MySQL-5.6/MySQL-client-5.6.21-1.rhel5.x86_64.rpm
2.安装MySQL-server
3.安装MySQL-client和MySQL-devel
4.复制文件并初始化数据库
5.启动数据库,并根据提供的密码登录进数据库
6.重置密码后再登录,添加到启动服务
时间: 2024-12-08 17:52:06
wget wget wget http://dev.mysql.com/Downloads/MySQL-5.6/MySQL-client-5.6.21-1.rhel5.x86_64.rpm