Archive for the ‘MYSQL’ Category



看来csdn的blog还是不大好用,刚才写了一大段的时候竞然没掉了,只好重新来一遍了。好记性不如烂笔头,还是把些东西记下来,以后方便查阅。 (1)killall -TERM mysqld (2) /usr/bin/mysqld_safe –user=mysql  –skip-grant-tables (3)另开一个终端 mysql mysql>use mysql mysql> update user set password=password(‘newpassword’) where user=’root’; mysql>exit (4)killall -TERM mysqld (5)如果安装了phpMyAdmin,则一定要修改phpMyAdmin目录下的config.inc.php文件,否则进不去(卡在这里多时) Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1428087     1. KILL 掉系统里的MySQL进程; 2. 用以下命令启动MySQL,以不检查权限的方式启动; mysqld_safe -skip-grant-tables & 3. 然后用空密码方式使用root用户登录 MySQL; mysql -u root 4. 修改root用户的密码; mysql> update mysql.user set password=PASSWORD(’新密码’) where User=’root’; mysql> flush privileges; mysql> [...]


About this blog

QK31欢迎你的到来.

Photostream

search_extends

 

2010年九月
« 八    
 12345
6789101112
13141516171819
20212223242526
27282930  

36
Unique
Visitors
Powered By Google Analytics

分类目录

标签云