时间:2021-07-01 10:21:17 帮助过:19人阅读
yum -y install mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql-community-server.x86_64
service mysqld start
grep "password" /var/log/mysqld.log
mysql -uroot -p
copy上面的临时密码进行登录
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘mySql123!‘;
Linux(CentOS)安装MySql
标签:创建数据库 http lazy mys star alter x86_64 修改密码 src