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 密碼更改 | 豬窩
Hey there! I know this is kind of off topic but I was wondering if you knew where I could
locate a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having difficulty finding one?
Thanks a lot!
mysql root 密碼更改 | 豬窩 | 392
My spouse and I absolutely love your blog and find the
majority of your post's to be exactly what I'm
looking for. Would you offer guest writers to write
content to suit your needs? I wouldn't mind composing
a post or elaborating on some of the subjects you write related to here.
Again, awesome web log!
mysql root 密碼更改 | 豬窩 | 154
please make a documentary about the corruption in the Philippines Department of Health Secretary Francisco Duque III.
unpaid health workers wages and benefits. over price medical
equipment, PPE, red tape and over price covid 19 test kits and covid 19 vaccines.
according to report, rthe son of former president gloria arroyo,
Mikee Aroyo is involved in these corruption scheme.
mysql root 密碼更改 | 豬窩
A motivating discussion is definitely worth comment. I do
think that you need to write more about this subject matter, it
may not be a taboo matter but typically people do not speak about these topics.
To the next! Kind regards!!
mysql root 密碼更改 | 豬窩
Undeniably believe that which you said. Your favorite justification seemed to be on the web the simplest thing to be aware of.
I say to you, I certainly get irked while people consider
worries that they plainly do not know about. You managed to hit the nail upon the top as well as
defined out the whole thing without having side-effects ,
people can take a signal. Will probably be back to get more.
Thanks