mysql-修改root密码的方法
2011-02-23 00:58
302 查看
首先以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');
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密码的几种方法
- MySQL修改root密码的几种方法
- Mysql的Root密码忘记,查看或修改的解决方法(图文介绍)
- MySQL修改root密码的多种方法
- Mysql5.6忘记root密码修改root密码的方法
- MySQL修改root密码及恢复权限的多种方法
- MySQL修改root密码的4种方法
- MySQL修改root密码的各种方法整理
- Mysql修改设置root密码的命令及方法
- Mysql修改设置root密码的命令及方法
- MySQL修改root密码的各种方法整理
- MySQL修改root密码方法总结
- navicat连接mysql时出现1045错误的解决方法,修改root密码
- Linux下mysql的root密码修改方法
- MySQL修改root密码的各种方法整理
- MySQL修改root密码的多种方法
- MySQL修改root密码的多种方法
- mySQL 忘记root 密码 修改方法
- MySQL修改root密码的多种方法
- Linux下mysql的root密码修改方法(ERROR 1054)