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 密碼更改 | 豬窩
For hottest news you have to visit internet and on internet I
found this website as a most excellent site for most up-to-date updates.
mysql root 密碼更改 | 豬窩
I have to thank you for the efforts you have put in writing this website.
I am hoping to view the same high-grade content from you later on as well.
In truth, your creative writing abilities has motivated me to get my
own blog now ;)
mysql root 密碼更改 | 豬窩
Your style is really unique compared to other people I've read stuff
from. Thank you for posting when you've got the opportunity, Guess I will just book mark this site.
mysql root 密碼更改 | 豬窩
Mushrooms, toadstools, fungi. They may look alike however if you're an amateur, you ought
to refrain from selecting them in the timbers. Numerous great smelling delicious varieties
expand wild and add a pungent taste to soups, stews and also casseroles.
White switch mushrooms are expanded locally, use much less flavor
as well as can be found in the fruit and vegetables area of your regional grocery
store. However they are not veggies. They stay in the fungi family members.
While certain species can be grown readily, others grow
just in the wild. Although fat-free and also low- calorie,
mushrooms do supply some dietary worth as well as add flavor and also
volume to many recipes.
mysql root 密碼更改 | 豬窩
Truly Internet is your buzzword of today's world, be it that the
searching, searching for information, or even possibly the casino gambling.
The Online/Internet casino gaming is now currently an industry worth a few billion dollars also it seems to grow always at an outstanding fast rate.
An increasing number of interested people today are gambling
at these on-line casinos, even on account of the lucrative offers being manufactured
from them. It is an extremely convenient adventure and pleasing
to just sit in front of this computer system, and enjoy the experience of online
casino gambling and earn good cash devoid of even wasting gasoline
as a way to make it to the far located casino. Additionally, no longer is there to force one to gamble extra cash, particularly when that you do not truly feel like playing with anymore.