沙拉麵@田園生活

Feed Rss

mysql 密碼重設

2008 年 09 月 18 日, 技術筆記, by .


1. killall mysqld
2. mysqld -u root --skip-grant-tables &
3. mysql
4. (mysql) use mysql;
5. (mysql) UPDATE user SET password=password('password') where user='root';
6. (mysql) FLUSH PRIVILEGES;
7. 重啟mysql

為了一個不在管轄範圍內的伺服器,不知道mysql密碼,只能用這暴力破解方法清除密碼
其他的終於在三個鐘頭後全部設定完成….

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Performance Optimization WordPress Plugins by W3 EDGE

无觅相关文章插件,快速提升流量