时间:2021-07-01 10:21:17 帮助过:4人阅读
2.选择对应的版本和系统;
输入命令:wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.19-1.el6.x86_64.rpm-bundle.tar 下载
3. 解压缩
tar -xvf mysql-5.7.19-1.el6.x86_64.rpm-bundle.tar
4.rpm安装
rpm -ivh mysql-community-common-5.7.19-1.el6.x86_64.rpm
rpm -ivh mysql-community-libs-5.7.19-1.el6.x86_64.rpm
rpm -ivh mysql-community-server-5.7.19-1.el6.x86_64.rpm
rpm -ivh mysql-community-client-5.7.19-1.el6.x86_64.rpm
rpm -ivh mysql-community-server-5.7.19-1.el6.x86_64.rpm
5.安装成功后,修改my.cnf文件,添加user=root
vi /etc/my.cnf
6.初始化数据库
输入命令:mysqld --initialize-insecure
7.启动
输入命令:mysqld
这种启动方法
或者 nohup mysqld & 方式启动
Linux下CenOS系统 安装Mysql-5.7.19
标签:ges es2017 数据 数据库 color unit rpm png 文件