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 密碼更改 | 豬窩
This piece of writing will assist the internet users for creating new weblog or even a blog from start to
end.
mysql root 密碼更改 | 豬窩
Within the following short article, we're likely to discover exactly what CBD is and how it can work
for your own advantage. In June 2018, '' The Food and Drug Administration (FDA)
allowed the usage of CBD oil for the treating 2 kinds of epilepsy.
So, it can be said that CBD does work as far as the treatment of some particular conditions or disorders will
be concerned. Let us figure out more.CBD is among the set of a number of compounds referred to as cannabinoids found in the cannabis plant.
Many clinical tests are carried out to find out distinct curative
uses with the oil.Basically, CBD oil has concentrated kind of CBD.
However, it is crucial to bear in your mind the doses and also their applications differ.
Thus, you may want to refer to a specialist
prior to using CBD to the affliction.
mysql root 密碼更改 | 豬窩
Hi there to every single one, it's actually a
pleasant for me to go to see this site, it consists of useful Information.
mysql root 密碼更改 | 豬窩
This is my first time visit at here and i am in fact happy to read all at alone place.
mysql root 密碼更改 | 豬窩
In this short informative article, we're going to discover exactly what
CBD is and the way that it is able to get the job done
for your advantage. Back in June 2018, The Food and Drug
Administration (FDA) let the employment of
CBD oil for its treating 2 sorts of epilepsy. Thus, it
can be stated that CBD does act as far as the treatment
of some specific circumstances or diseases is concerned.
Let us find out more.CBD is on the list of several
compounds known as cannabinoids present in the cannabis plant.
Many clinical tests are carried out to seek
out different therapeutic applications with the oil.Basically, CBD petroleum consists of concentrated kind of CBD.
But, it is crucial to keep in mind the doses and their uses range.
Thus, you may want to consult an expert prior to employing
CBD for your situation.