1.安装依赖包 yum install -y perl openssl openssl-devel libaio perl-JSON autoconf 2.解压并安装 tar -xvf mysql-5.7.30.tar.gz cd aarch64 yum remove -y mariadb-libs yum install *.rpm 3.启动MySQL,查看状态 systemctl start mysqld systemctl status mysqld 4.登录数据库 密码生成在/var/log/mysqld.log中,通过/password查找