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 密碼更改 | 豬窩
Hello there! I could have sworn I've been to this
blog before but after checking through some of the post I realized it's new
to me. Anyways, I'm definitely delighted I found it and I'll
be bookmarking and checking back often!
mysql root 密碼更改 | 豬窩
Have you ever earned $765 just within 5 minutes?
trade binary options
mysql root 密碼更改 | 豬窩
Uninterested in being bamboozled by the time period 'limited firm'?
As a freelancer or contractor, it is important
to know the distinction between working for an umbrella company or choosing to begin up a Ltd company.
Contractors, sole traders and restricted firms are all completely
different enterprise mediums by which individuals chose
to earn an income through. Choosing the perfect medium for you is a big decision and ought to be completed via an unbiased advisor
or a specialist contractor accountant.A limited firm is commonly shortened to
the abbreviation Ltd, and often appears after the company's name.Setting up a Ltd signifies that the business is owned by its shareholders, or that individual shareholders own a small portion of the
business.A Ltd is named having 'restricted liability'
constructions in place. That is its first advantage. It implies that if the
corporate should fail, the shareholders of the corporate will not be
answerable for its debts.Operating under a Ltd means traders or shareholders within the firm can only lose the money they've invested and no more.Buying and selling beneath a
Ltd implies that your private and business finances are saved separate.
This requires you to set up a checking account beneath the Ltd firm's name.
As a contractor or freelancer, the shareholder is normally simply the person freelancer.
You may nevertheless split the ownership
between totally different folks including family members.When is starting a Ltd firm a good suggestion?
mysql root 密碼更改 | 豬窩 | 789
magnificent post, very informative. I wonder why the opposite experts of this sector do not notice
this. You should proceed your writing. I'm confident, you have a huge readers'
base already!
mysql root 密碼更改 | 豬窩
Hi! This is kind of off topic but I need some guidance
from an established blog. Is it very difficult to set up your own blog?
I'm not very techincal but I can figure things out pretty quick.
I'm thinking about setting up my own but I'm not sure where to begin. Do you have any points or suggestions?
Many thanks