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