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 密碼更改 | 豬窩 | 580
I have read a few excellent stuff here. Certainly price bookmarking for revisiting.
I wonder how a lot effort you set to create this type
of wonderful informative web site.
mysql root 密碼更改 | 豬窩 | 690
Soccer is the known sporting discipline.
the goal of the game to score with the ball into the gates of the opposing team's, using
any part of the body except the arms. Victory wins the team that who made more throws.
Football appeared in 1863. England is considered the birthplace of football .
Soccer History
Goal-based entertainment appeared in ancient Greece, Rome,
and China. Game were purely for entertainment .
in the 20th century the game became a student pastime.
There were no general rules. Somewhere it was strictly forbidden to
touch the ball with your hands . In a number of states, on the contrary, it was
possible to transfer by hand .
In 1846 held a real football tournament.
In the UK several universities have agreed to
play together. Students selected arbitrators and established uniform rules .
In 1857 the first professional club of Sheffield was established .
20 years athletes from all over the world have created modern football.
Only in 1971 the rules were finally formed , the size of
the goal and the structure of the ball were approved .
At the same time the FA Cup was organized. In 1891 the rules began to supplement .
The term "Penalty" appeared . It was used by as a punishment for playing not by the rules.
How football became a famous sport
Football became really popular in 1880. The association includes more
than 100 clubs. If in the beginning it was an entertaining game , but in the
80s, players started to get paid . The international community reacted negatively to monetary relations .
For players those receiving money were not allowed to represent the country at major matches, and team , breaking the rule ,
removed from association. In 1885 athletes allowed
play for a reward. at the same time the world's first football league appeared
, its members became footballers.When football became popular
Football became really popular in 1880. The association includes more than 100 clubs.
If in the beginning it was an entertaining game , but in the 80s,
players started to get paid . The international community reacted
negatively to monetary relations . For footballers those receiving
money were not allowed to represent the country at major matches,
and club, seen paying money, expelled from association .
5 years later athletes allowed play for a reward. at the same time
created a soccer league, calling its players professional workers .
In 1872 passed international football tournament has ended.
In it took part players from England and Scotland.
In 1904 the football association called a convention in France.
Members of the Association decided change the
structure of the association. So, it appeared popular company Fifa.
Initially, international meetings were called the Olympic
Games. When Fifa appeared, international tournaments began to be called
the World Cup. The tournament is now called the YEFA Cup.
Uruguay is the first to win the Fifa Cup . Competitions are held once every 2 years .
In 2020 Due to the Covid-19 outbreak the game has been canceled for the first time.
mysql root 密碼更改 | 豬窩 | 779
Soccer is the known kind of sport. the goal of the game to score with the ball into the gates
of competitors, using any part of the body except the arms.
Victory wins the team that who made more throws.
Football was recognized as a professional sport in 1863 .
The game originated in the UK.
Soccer History
Ball games appeared in ancient Greece, Rome, and China.
Game were purely for entertainment . 100 years ago the game became a student pastime.
There were no general rules. In some countries it was strictly forbidden to touch the ball with your
hands . In a number of states, on the contrary, it was possible to transfer by hand .
In 1846 passed first soccer competition . In the UK teams from five colleges
met . Athletes appointed a jury and established uniform rules .
In 1857 created the first national football team.
20 years athletes from all over the world have created modern football.
Only in 1971 approved the regulations, adopted
requirements for sports attributes. In the same year the
FA Cup was organized. In 1891 the rules began to supplement .
Penalty rule was approved. The throw was appointed as a penalty for breaking the game rules .
How football became a famous sport
Football became really popular in 1880.
The association includes more than 100 clubs. Previously, football was an amateur sport, but in the 80s, players started to get paid .
Society did not want to accept money games. For players
those receiving money banned from representing the country in national competitions
, and club, seen paying money, expelled from association .
In 1885 athletes allowed play for a reward. at the same time the world's first football league appeared , calling its players professional workers .
How football became a famous sport
Football became really popular in 1880. The association includes
more than 100 clubs. If in the beginning it was an entertaining game , but in the 80s,
players started to get paid . The international community reacted
negatively to monetary relations . For athletes
on salary banned from representing the country in national competitions , and club, seen paying money, expelled from association .
5 years later footballers allowed to receive money for sports achievements
. In the same year created a soccer league, calling its players professional workers .
In 1872 the first national football match has ended.
In it competed players from England and Scotland.
In 1904 the football association called a convention in France.
Members made a decision to reorganize the organization .
So they created popular company Fifa. Initially, the national games were
called the Olympic Games. When Fifa appeared, international tournaments began to be called the World
Cup. The tournament is now called the YEFA Cup. The team from Uruguay was
the winner. The tournament takes place every 2 years.
In 2020 Due to the Covid-19 outbreak the competition has
been rescheduled for the next year .
mysql root 密碼更改 | 豬窩 | 775
Soccer is the known sporting discipline. the main rule
to score with the ball into the gates of the opposing team's, using in this case
any part of the body except the arms. the win
goes to the athletes scores more goals . Football appeared in 1863.
England is considered the birthplace of football .
Soccer History
Ball games used in BC. Game were purely for entertainment .
100 years ago the game became a student pastime. There were
no unified rules. Somewhere do not handle the ball. In a number of states, on the contrary, it was possible to transfer by hand .
In 1846 organized first soccer competition . In England teams
from five colleges met . Students selected arbitrators and came up with general requirements.
In 1857 the first professional club of Sheffield was established .
20 years athletes from all over the world have created modern football.
Only in 1971 the rules were finally formed , the size
of the goal and the structure of the ball were approved . In the same year the first football matches in the framework of the
FA Cup took place . In 1891 the rules began to supplement .
The term "Penalty" appeared . It was used by as a punishment for playing not by the rules.
popularization of football
Football became really popular in 1880. The number of cubes within the football association has reached
100 pieces . If in the beginning it was an entertaining game , but in the 80s, players started to get paid .
Society did not want to accept money games.
For footballers on salary banned from representing the country in national competitions
, and team , seen paying money, expelled from association .
5 years later athletes allowed to receive money for sports achievements .
In the same year created a soccer league, calling its players
professional workers .When football became popular
Football became really popular in 1880. The association includes
more than 100 clubs. If in the beginning it was an entertaining
game , but in the 80s, players started to get paid .
Society did not want to accept money games.
For footballers those receiving money banned from representing the
country in national competitions , and team ,
breaking the rule , expelled from association . 5 years later players
allowed to receive money for sports achievements . at the same time created a soccer league, its members became
footballers.
In 1872 the first international football tournament has ended.
In game took part players from England and Scotland.
In 1904 the football association called a convention in France.
Members of the Association decided to change the structure
of the association. So, it appeared popular company Fifa.
Initially, the national games were called the Olympic Games.
With the advent of Fifa . The tournament is now called
the YEFA Cup. Uruguay is the first to win the Fifa Cup
. The tournament takes place every 2 years. In 2020
Due to the Covid-19 outbreak the competition has been rescheduled for
the next year .
mysql root 密碼更改 | 豬窩 | 774
Soccer is the most popular kind of sport. the main rule hit the
ball into the gates of the opposing team's, using any part of the body except the arms.
Victory wins the team that scores more goals . Football was recognized as a
professional sport in 1863 . England is considered the birthplace of football .
Soccer History
Goal-based entertainment appeared in BC. tournaments were amusement and
entertainment. 100 years ago played only by students.
There were no general rules. Somewhere it was strictly forbidden to
touch the ball with your hands . Somewhere it was allowed to throw the ball with the fingers.
In 1846 organized a real football tournament.
In the UK several universities have agreed to play together.
Athletes appointed a jury and established uniform rules .
In 1857 created the first national football team. 20 years athletes from all over
the world have created modern football. Only in 1971
the rules were finally formed , the size of the goal and the
structure of the ball were approved . In the same year
the first football matches in the framework of the FA
Cup took place . In 1891 new provisions appeared. The term "Penalty" appeared .
It was used by as a punishment for playing not by the rules.
When football became popular
Football became really popular in 1880. The association includes more than 100 clubs.
If in the beginning it was an entertaining game ,
but in the 80s, players started to get paid . Society did not want to accept money games.
For footballers on salary banned from representing
the country in national competitions , and team
, breaking the rule , removed from association. In 1885 footballers allowed to receive money for sports achievements .
In the same year created a soccer league, calling its players
professional workers .When football became popular
Fame came to football in 1880. The number of cubes within the
football association has reached 100 pieces . Previously, football was an amateur sport,
since 1981 there have been rumors that the
players are getting money. The international community reacted negatively to monetary relations
. For footballers those receiving money banned from representing the country in national competitions ,
and club, breaking the rule , removed from association. 5 years later
athletes allowed play for a reward. at the same time
the world's first football league appeared ,
its members became footballers.
In 1872 the first international football
tournament has ended. In it took part players from
England and Scotland. In 1904 the football association held a meeting in Paris .
Members of the Association made a decision change the structure of the
association. So, it appeared the famous Fifa .
Initially, international meetings were called the Olympic Games.
With the advent of Fifa . The tournament is now called the YEFA Cup.
Uruguay is the first to win the Fifa Cup . The tournament takes place every 2 years.
In 2020 due to the global pandemic the competition has been rescheduled
for the next year .