[root@centos7 ~]# wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
[root@centos7 ~]# yum -y install mysql57-community-release-el7-10.noarch.rpm
[root@centos7 ~]# yum -y install mysql-community-server
[root@centos7 ~]# systemctl start mysqld
[root@centos7 ~]# systemctl status mysqld
[root@centos7 ~]# grep "password" /var/log/mysqld.log
[root@centos7 ~]# mysql_secure_installation
enter password for user root:---------------------------------------->使用查询到的密码
new password:--------------------------------------------------------->输入新密码
re-enter new password:--------------------------------------------->重复密码
do you wish to continue with the password provided?(press y|y for yes, any other key for no) : y
如对本文有疑问, 点击进行留言回复!!
MySQL-关系代数-并、交、差、等值连接、自然连接、左连接。。。
网友评论