安装MYSQL 8.0
时间:2021-07-01 10:21:17
帮助过:2人阅读
) EL8-based systems such as RHEL8 and Oracle Linux 8 include a MySQL module that is enabled by default. Unless this module is disabled, it masks packages provided by MySQL repositories. To disable the included module and make the MySQL repository packages visible, use the following command (for dnf-enabled systems, replace
yum in the command with dnf):
sudo yum module disable mysql
Installing MySQL
sudo yum install mysql-community-server
Starting the MySQL Server
service mysqld start
修改密码
grep ‘temporary password‘ /var/log/mysqld.log
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘MyNewPass4@‘;
安装MYSQL 8.0
标签:service lin ken ase 安装 oracle include alter oracl