mysql install

uname -a

rpm -ivh https://repo.mysql.com//mysql57-community-release-el7-11.noarch.rpm

yum install mysql-server -y

systemctl start  mysqld.service

mysql

check your password:
grep ‘temporary password’ /var/log/mysqld.log

set password for root@localhost = password(‘123456’);

设置mysql服务开机自启动
    systemctl enable mysqld.service

romote:
GRANT ALL PRIVILEGES ON *.* TO ‘admin’@’%’  identified  BY ‘FsEntMeeting.com’ with  grant option;

flush privileges;

    原文作者:mysql
    原文地址: https://www.cnblogs.com/sunnykwan/p/11741840.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞