重置:mysql-5.7 root用户密码为:root

# reset-root.sh # 功能:初始化mysql-5.7初始密码的脚本 root/root # 时间:2017/08/02 10:46:07 #!/bin/bash mycnf=" /etc/my.cnf" # IMPORTANT sed -i '/symbolic-links=0/a\skip-grant-tables=1' $mycnf service mysqld restar
相关文章
相关标签/搜索