Loving Coding & Visual Design
Linux Tips
Red Hat Enterprise Linux AS release 4
lost mysql password?
# service mysqld stop
# /usr/bin/mysqld_safe --skip-grant-tables &
# mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD('new_password') WHERE user='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;
# service mysqld stop
# service mysqld start
lost mysql password?
# service mysqld stop
# /usr/bin/mysqld_safe --skip-grant-tables &
# mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD('new_password') WHERE user='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;
# service mysqld stop
# service mysqld start
最 近 文 章
- AppEngine打造Web应用需要准备的几方面 - Mon, 30 Nov -0001 00:00:00 +0000
- Weird Email Alert - Mon, 30 Nov -0001 00:00:00 +0000
- 如何通过VPS利用SSH加密通道翻墙 - Mon, 30 Nov -0001 00:00:00 +0000
- 黑客尝试SQL攻击的案例 - Mon, 30 Nov -0001 00:00:00 +0000
- OpenGL、OpenGL ES版和WebGL的区别 - Mon, 30 Nov -0001 00:00:00 +0000
- BAT直接打开窗口运行命令 - Mon, 30 Nov -0001 00:00:00 +0000
- session登录验证 - Mon, 30 Nov -0001 00:00:00 +0000
- CSS Hacks for IE6 & IE7, Not IE8 - Mon, 30 Nov -0001 00:00:00 +0000
- WebGL脚本实例分析 - Mon, 30 Nov -0001 00:00:00 +0000
- 如何追踪垃圾邮件的来源 - Mon, 30 Nov -0001 00:00:00 +0000