window 系統 重置 mysql root 密碼

1.   停止 mysql   net stop mysql;   2.無校驗啓動 # 1 關閉服務器 net stop mysql; # 2 啓動 mysqld --console --skip-grant-tables;  -- 修改密碼,mysql.user 表,password字段記錄密碼信息  --- 密碼是加密的,提供函數進行加密 password('密碼') use mysql;  
相關文章
相關標籤/搜索