CentOs 7 mysql安装后会生成一个随机密码,通过命令查看:
cat /var/log/mysqld.log |grep password
再次连接mysql,成功:
posted on 2019-05-17 14:50 love_wife 阅读(11455) 评论(0) 收藏 举报