RedHat8安装mysql9.1的详细过程
作者:阿龙先生啊
文章主要介绍了如何下载和安装MySQL Enterprise Edition,包括下载地址、安装顺序、启动服务、修改密码等步骤,同时,还提到了JDBC的下载地址以及解决Red Hat 8源问题的方法,感兴趣的朋友跟随小编一起看看吧
一、下载安装包
下载地址: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.
到此这篇关于RedHat8安装mysql9.1的详细过程的文章就介绍到这了,更多相关RedHat8安装mysql9.1内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!