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 密碼更改 | 豬窩
No matter your age, wealth, or social position, sex
is always an ongoing topic. Sexual activity is essential for everyone, not only for the sake of
procreation, but for pleasure and to strengthen relationships as
well. It's impossible to talk about romance without incorporating sexual intimacy, so if you're currently in a relationship
and want to make your love story last it is time to start working on your sex life.
What's the first step? There are numerous ways to spice up your sex life online,
but there's only one way. Are you curious about what the sex tutorial video can do for your relationship?
Don't be afraid of reading.
mysql root 密碼更改 | 豬窩
Y᧐u are mу inspiration, I рossess few blogs and
infrequently run out from brand :).
mysql root 密碼更改 | 豬窩
I do not knlw whether it's just me or if perhaps everybody else experiencing
problems with your website. It appears like some
of the text within your posts are running off the screen. Can somebody else
please comment and let mme know if this is happening to them too?
This could be a problem with my browser because I've had this happen previously.
Many thanks
mysql root 密碼更改 | 豬窩
excellent points altogether, you simply received a new reader.
What would you suggest in regards to your publish that you just made a few days ago?
Any positive?
mysql root 密碼更改 | 豬窩
I just couldn't leave your web site before suggesting that I extremely loved
the usual info a person provide for your guests? Is going to be again frequently in order to check out new
posts