32位系统安装mysql8步骤如下:
一、下载mysql8安装包
wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm
二、安装mysql8
sudo rpm -ivh mysql80-community-release-el7-3.noarch.rpmsudo yum install mysql-community-server
三、启动mysql服务
sudo systemctl start mysqld
四、查看mysql服务状态
sudo systemctl status mysqld
五、重置mysql8默认密码
sudo grep 'temporary password' /var/log/mysqld.logmysql -u root -pALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass4!';
六、登录mysql
mysql -u root -p
七、修改mysql8为不区分大小写
sudo vim /etc/my.cnf[mysqld]lower_case_table_names=1sudo systemctl restart mysqld
安装完成后,您可以使用mysql8来创建和管理数据库了。