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;