1.my.ini文件,刪除最后一行的“skip-grant-tables
2.執行“use mysql;”,使用mysql數據庫;
3.執行:update mysql.user set password=password("123456") where user="root"
4.grant all privileges on . to root@'%' identified by '123456' with grant option ;
1.my.ini文件,刪除最后一行的“skip-grant-tables
2.執行“use mysql;”,使用mysql數據庫;
3.執行:update mysql.user set password=password("123456") where user="root"
4.grant all privileges on . to root@'%' identified by '123456' with grant option ;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。