一、下载安装包
下载地点:MySQL Enterprise Edition Downloads | Oracle
MySQL :: MySQL Community Downloads
安装包:mysql-enterprise-9.1.0_el8_x86_64_bundle.tar
官方 安装文档:MySQL Enterprise Edition Installation Guide
二、安装
- tar -xvf mysql-enterprise-9.1.0_el8_x86_64_bundle.tar
复制代码
安装次序安装
- sudo yum install mysql-commercial-icu-data-files-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-commercial-common-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-commercial-client-plugins-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-commercial-libs-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-commercial-client-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-commercial-backup-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-connector-c++-commercial-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-connector-c++-commercial-jdbc-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-connector-j-commercial-9.1.0-1.1.el8.noarch.rpm -y
- sudo yum install mysql-connector-odbc-commercial-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-connector-odbc-commercial-setup-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-router-commercial-9.1.0-1.1.el8.x86_64.rpm -y
- sudo yum install mysql-commercial-server-9.1.0-1.1.el8.x86_64.rpm -y
复制代码 安装完成
启动MySQL服务
- systemctl start mysqld
- systemctl status mysqld
复制代码
日志中获取mysql初始密码,进入后修改密码
- ALTER USER 'root'@'localhost' IDENTIFIED BY 'Winner@123456';
复制代码 jdbc下载地点:MySQL :: MySQL Community Downloads
下载对应版本的jdbc
直接下载
redhat8源问题解决:
Red Hat 8.0 利用yum报错:This system is not registered to Red Hat Subscription Management.-CSDN博客
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |