时间:2021-07-01 10:21:17 帮助过:21人阅读
rpm -qa | grep mariadb | xargs rpm -e --nodeps
wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql-community-server
systemctl start mysqld.service
systemctl enable mysqld.service
grep "password" /var/log/mysqld.log
mysql -uroot -p
SET global validate_password_policy=0;
set global validate_password_length=1;
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘root‘;
GRANT ALL PRIVILEGES ON . TO ‘root‘@‘%‘ IDENTIFIED BY ‘root‘ WITH GRANT OPTION;
Centos7安装mysql数据库
标签:l数据库 start 用户 ice ase iad centos7安装 alt mys