mysql忘记root密码
摘要:1 跳过权限检查启动MySQLshell>mysqld-nt ––skip-grant-tables或者shell>mysqld ––skip-grant-tables2 设置root的新密码msyql>use mysql;msyql>update user set password=password("new_pass") where user="root";msyql>flush privileges;3 退出重启mysql
阅读全文
posted @ 2013-10-21 21:10