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 密碼更改 | 豬窩
I'm impressed, I have to admit. Seldom do I encounter
a blog that's equally educative and entertaining, and let me tell you, you have hit the nail on the head.
The problem is something which not enough folks are
speaking intelligently about. I'm very happy that I came across this during my search for something relating to
this.
mysql root 密碼更改 | 豬窩
If you have a personality you will subsequently be intriguing and it is exactly what the
target audience or public want to see. If you like money then I
would turned into a rapper and rhyme about the streets as being a person who reflect the trail scene from the rhymes.
Author Charlaine Harris, who wrote the Sookie Stackhouse novels
on which the series relies, has also been attending and stated she was signed
to create three more novels (which takes the series total to
12).
mysql root 密碼更改 | 豬窩
Make your profile as appealing as possible, use catchy phrases and get away from being
boring. Now, there is nothing to bother with because internet world and
online dating sites services have eradicated this trouble.
You have complete control you want to get hold of and which you wish
to block from.
mysql root 密碼更改 | 豬窩
Cheltenham betting going in the year 1902 with just a skeleton structure of various races
throughout 72 hours, as years pass a number
of showpiece races are already added to the festival websites as bad this just last 2005
the National Hunt's premiere horse racing betting event became a four day highlighted event which gives more excitement and
hopes to the people horse race enthusiasts. As you can observe, binary
betting provides investor many the possiblility to
trade inside the fast and volatile market movements however, avoiding exactly the
same risk as other markets. Like recounted before, here is the spot where sports spread betting will disclose results
profitable ones I mean.
mysql root 密碼更改 | 豬窩
Maybe you can't be a famous director; you are able to still direct a show
to memorize your life. They duplicate your Wii games and even import games business
systems so your Wii can become the best gaming machine.
The better the product quality, the larger the ratio of
pure pigment to its oil and wax binder.