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 密碼更改 | 豬窩 | 146
Great beat ! I wish to apprentice while you amend your website,
how could i subscribe for a blog site? The account helped me a acceptable
deal. I had been a little bit acquainted of
this your broadcast offered bright clear idea
mysql root 密碼更改 | 豬窩 | 1338
I absolutely love your website.. Great colors & theme. Did you build this website yourself?
Please reply back as I'm attempting to create my own personal
site and want to know where you got this from
or what the theme is named. Thank you!
mysql root 密碼更改 | 豬窩 | 907
Hey! I just wanted to ask if you ever have any trouble with
hackers? My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no data backup.
Do you have any solutions to prevent hackers?
mysql root 密碼更改 | 豬窩 | 907
I do not know whether it's just me or if everyone else encountering
problems with your site. It appears as if some of the text in your content are running off the screen. Can somebody else please comment
and let me know if this is happening to them too?
This might be a issue with my web browser because I've
had this happen before. Many thanks
mysql root 密碼更改 | 豬窩
Tegenwoordig biedt ons platform een uitgebreide verzameling modellen van Online Casinos Nederland van echt erkende fabrikanten, waaronder projecten van jonge, maar nog steeds veelbelovende ontwikkelteams.
It’s also the best for cheap eats, though some of the casinos in Stateline have
high-end options to rival anything in North Lake Tahoe.
Lone Eagle Grille: With a lakefront firepit, this high-end restaurant's
locally sourced dishes and seasonally changing cocktail list warrant its rave reviews.
There’s a reason this affordable restaurant has rave
reviews from carnivores and vegetarians alike. You'll find
cuisine to suit every palate, but bring your wallet; even a basic burger at the cheapest restaurant costs close to $10 on the North
Shore. The Station is one of the cheapest places in town for tasty food
and a cold beer. The food is pretty tasty, too. Taqueria Jimenez:
This authentic taco shop is incredibly tasty, affordable,
and just a quick walk from the base of the Heavenly Mountain gondola.
If you have to wait for a table to open up, feel free
to order a cocktail or glass of wine while admiring the lake
or mountain views. Tapas are affordable, but you’ll want to
order two or three per person.URL