注意: 1.cmd是管理员身份打开 2.退出MySql> 用exit(或 ;) 3.update user set authentication_string=password(“xxx”) where user=“root” ;(缺个分号) Mysql安装版