修改mysql 的root密码
来源:互联网 发布:讲你知歌词 编辑:程序博客网 时间:2024/04/28 06:01
mysql
初始化的root密码都是为空的
root@ubuntu:~# mysql -u root -p
Enter password: -----------------------敲入回车
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.1.55-log Source distribution
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
---------------开始修改root用户密码---------------------
mysql> use mysql
mysql> insert into user(Host,User,Password) values('%','root',PASSWORD('root'));
Query OK, 1 row affected, 3 warnings (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
查看表中显示信息
修改完成
- Mysql的Root密码修改
- 修改mysql root的密码
- 修改mysql 的root密码
- 修改mysql 的root密码
- 修改mysql的root密码
- 修改mysql的root密码?
- 修改MYSQL的ROOT密码
- mysql修改root密码及root密码忘记的解决办法
- mysql 修改root密码
- 修改mysql root密码
- mysql修改root 密码
- mysql修改root密码
- MySQL root密码修改
- 修改MYSQL root密码
- MySql root 密码修改
- mysql 修改 ROOT 密码
- 修改mysql root密码
- mysql 修改root 密码
- 接收者编辑器RecipientsEditor的实现方法
- SD卡初始化及读写流程
- DB2 grant 授权
- SMS <--->MMS自动转换机制
- Java泛型简明教程
- 修改mysql 的root密码
- SerialMonitor:C#写的串口调试程序
- 进制的概念
- your project contains error(s),please fix them before running your application.错误总结
- 彩信MMS构成元素的类型以及编码格式
- 位运算与加减法
- Linux下动态链接库的编写
- 简评黑客利器——中国菜刀
- 计算机内部的数据表达