mysql>use mysql
mysql>update user set password=password("new_pass") where user="root";
mysql>flush privileges;
Created
March 30, 2014 03:04
-
-
Save lanrion/9866811 to your computer and use it in GitHub Desktop.
修改mysql root 用户密码
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment