adfasdfasd

Posted fan-yuan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了adfasdfasd相关的知识,希望对你有一定的参考价值。

#yum -y install wget

#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 status mysqld.service
#grep "password" /var/log/mysqld.log
#mysql -uroot -p
>ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘new password‘;
#yum -y remove mysql57-community-release-el7-10.noarch
>GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘youpassword‘ WITH GRANT OPTION;
>FLUSH PRIVILEGES;

以上是关于adfasdfasd的主要内容,如果未能解决你的问题,请参考以下文章