Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6537625
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: LINUX

2010-11-02 16:05:51



[root@localhost ~]# mysqladmin -u root -p password '123456' //密码设为123456
Enter password:                                             //输入原密码 
[root@localhost ~]# mysql -u root -p                        //进入数据库
Enter password:                                             //输入新密码123456
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 5.0.77 Source distribution

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

mysql> show databases;
阅读(1730) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~