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



下一页


最 近 文 章

  1. AppEngine打造Web应用需要准备的几方面 - Mon, 30 Nov -0001 00:00:00 +0000
  2. Weird Email Alert - Mon, 30 Nov -0001 00:00:00 +0000
  3. 如何通过VPS利用SSH加密通道翻墙 - Mon, 30 Nov -0001 00:00:00 +0000
  4. 黑客尝试SQL攻击的案例 - Mon, 30 Nov -0001 00:00:00 +0000
  5. OpenGL、OpenGL ES版和WebGL的区别 - Mon, 30 Nov -0001 00:00:00 +0000
  6. BAT直接打开窗口运行命令 - Mon, 30 Nov -0001 00:00:00 +0000
  7. session登录验证 - Mon, 30 Nov -0001 00:00:00 +0000
  8. CSS Hacks for IE6 & IE7, Not IE8 - Mon, 30 Nov -0001 00:00:00 +0000
  9. WebGL脚本实例分析 - Mon, 30 Nov -0001 00:00:00 +0000
  10. 如何追踪垃圾邮件的来源 - Mon, 30 Nov -0001 00:00:00 +0000