mysql root 密碼更改
如果忘記了 MySQL 的 root 密碼,可以用以下方法重新設定:
1. 關閉 MySQL 伺服器。
/etc/rc.d/init.d/mysqld stop
2. 用以下指令啟動 MySQL,以跳過檢查權限的資料表
mysqld_safe --skip-grant-tables &
(顯示訊息 nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql 直接按Enter)
3. 現在己經可以用空密碼進入 MySQL
mysql -u root
4. 進入 MySQL 後執行以下指令更改 mysql root 密碼:
mysql> update mysql.user set password=PASSWORD(」new_password」) where User=』root';
mysql> flush privileges;
mysql> quit
5. 最後只需重新啟動 MySQL,便可以用新設定的密碼進入了。
參考自:http://www.cosa.org.tw/forum/index.php?topic=73.0
迴響
mysql root 密碼更改 | 豬窩 | 763
Hello, i think that i noticed you visited my web site thus i came to go
back the want?.I'm attempting to in finding
things to enhance my web site!I guess its adequate to use a few of your ideas!!
mysql root 密碼更改 | 豬窩 | 763
в нашей компании ты найдешь больше всего захватывающие и захватывающие флеш и html5 https://ramblermails.com/, ставшие настоящими хитами рунета.
mysql root 密碼更改 | 豬窩
Thank you for every other excellent post. Where else may anyone get that type
of information in such a perfect method of writing? I have a presentation next week, and I am on the search for
such info.
mysql root 密碼更改 | 豬窩 | 763
Cordially fellow audience ,
I came across the ideas shared in this blog post to be remarkably thought-provoking
. The writer's expertise of the material is undoubtedly
commendable.
If you are seeking a thrilling and advantageous web-based gaming experience , I would gladly persuade
you to delve into the selections of VIVARO CASINO.
With its vast assortment of enthralling entertainment ,
plentiful offers , and hassle-free system , VIVARO CASINO presents an unparalleled
leisure ambiance that fits both newbie and adept players equally .
I persuade you to visit VIVARO CASINO and unveil the stimulation that is ready to be experienced you.
I am firmly believe you will think of the venture to be
exceptionally pleasurable .
Sincerest regards
mysql root 密碼更改 | 豬窩 | 763
Ahaa, its fastidious dialogue concerning this article
here at this weblog, I have read all that, so now me also commenting at this place.