Centos7修改mysql密碼策略

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