好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

最简单的mysql修改root密码的方法

首先以root账户登录命令行

Enter password: ************** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 384 Server version: 5.0.51b-community-nt-log MySQL Community Edition (GPL)

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer

//就下面这一行而已,把单引号里面的内容改成自己的新密码,OK.

mysql> set password = password(‘newpassword’);

查看更多关于最简单的mysql修改root密码的方法的详细内容...

  阅读:41次