mysql install
Posted Sunny Kwan
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 install的主要内容,如果未能解决你的问题,请参考以下文章