重置: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
相關文章
相關標籤/搜索