重置mysql数据密码
重置mysql数据库密码:
(1)杀进程:taskkill /f /im mysqld-nt.exe
(2)跳过密码验证:mysqld --skip-grant-tables
(3)再打开cmd:mysql -u root
(4)查看密码:select host,user,authentication_string from mysql.user
(5)修改密码:update mysql.user set authentication_string='123456' where user='root'