Centos7修改mysql密碼策略

mysql 安裝步驟: http://www.javashuo.com/article/p-mghtzydf-co.html 安裝完成後進入mysql沒有密碼:mysql -uroot -p ,提示輸入密碼時直接Enter   0、修改密碼: 1)vi /etc/my.cnf 添加一段代碼: skip-grant-tables 2)重啓mysql: 免密登錄mysql use mysql; upd
相關文章
相關標籤/搜索