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 密碼更改 | 豬窩 | 805
Soccer is the known kind of sport. the goal of the
game hit the ball into the gates of opponents, using in this case 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 amusement and entertainment. 100 years ago played only by students.
There were no unified 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.
Students 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 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.
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 ,
since 1981 there have been rumors that the players are getting money.
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, removed from association. 5 years later players
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
Fame came to football 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 athletes those receiving money were not allowed to represent the country
at major matches, and club, seen paying money, removed from association. 5
years later athletes allowed play for a reward.
In the same year created a soccer league, its members became footballers.
In 1872 passed international football tournament has ended.
In it competed players from England and Scotland.
In 1904 the football association held a meeting in Paris .
Members of the Association decided to 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.
The team from Uruguay was the winner. The tournament takes place every 2 years.
In 2020 due to the global pandemic the competition has
been rescheduled for the next year .
mysql root 密碼更改 | 豬窩 | 783
Soccer is the known kind of sport. the goal of the game hit the ball into the gates of the opposing team's, using in this case any part of the
body except the arms. Victory goes to the athletes scores more goals .
Football appeared in 1863. The game originated in the
UK.
Soccer History
Goal-based entertainment appeared in BC. tournaments were amusement and
entertainment. in the 20th century played only by students.
There were no unified rules. In some countries 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 first soccer competition . In England several universities have agreed
to play together. Athletes 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 new provisions appeared.
The term "Penalty" appeared . 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.
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 were not allowed to represent the country at major matches, and club, seen paying money,
removed from association. 5 years later
footballers allowed play for a reward. at the same time the
world's first football league appeared , its members
became footballers. popularization of football
Fame came to football 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 were not allowed to represent
the country at major matches, and team , seen paying money,
expelled from association . 5 years later players
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 decided to reorganize the organization .
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. 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 密碼更改 | 豬窩 | 775
Soccer is the known sporting discipline. the goal of the game to score with the ball into the
gates of competitors, applying any part of the body except
the arms. the win goes to the athletes
scores more goals . 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. Game were purely for entertainment . 100 years ago the game became
a student pastime. There were no unified rules. In some countries
do not handle the ball. 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.
Players 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 .
At the same time the FA Cup was organized. 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
Fame came to football 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
. The international community reacted negatively to monetary relations .
For athletes those receiving money banned from representing the country in national competitions , and team ,
seen paying money, expelled from association . 5 years later footballers allowed play for
a reward. In the same year the world's first football league appeared , calling its players
professional workers . popularization of football
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 players on salary banned from representing
the country in national competitions , and club, breaking the rule , expelled from association .
5 years later athletes allowed play for a reward.
at the same time created a soccer league, its members became footballers.
In 1872 passed national football match has ended. In match took part
athletes 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.
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 密碼更改 | 豬窩 | 773
Soccer is the most popular sporting discipline.
the main rule hit the ball into the gates of opponents, using in this case all limbs
except the arms. the win goes to the athletes who made more throws.
Football appeared in 1863. England is considered the birthplace of
football .
Soccer History
Ball games used in BC. 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 held a real football tournament. In England teams from five colleges met .
Students appointed a jury 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 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 . 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 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 banned from representing the country in national competitions , and club, seen paying money, expelled
from association . 5 years later players allowed to receive money for sports achievements .
In the same year the world's first football league appeared ,
calling its players professional workers . 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, but in the 80s, players started to get paid .
The international community reacted negatively to monetary relations .
For players those receiving money banned from representing the
country in national competitions , and team , seen paying money,
expelled from association . In 1885 athletes allowed
play for a reward. at the same time created a soccer league, calling its players professional workers .
In 1872 ended 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 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.
This is how the famous UEFA EURO games were born .
The team from Uruguay was the winner. Competitions are held once every 2 years .
In 2020 due to the global pandemic the competition has been rescheduled for
the next year .
mysql root 密碼更改 | 豬窩 | 757
Soccer is the most popular kind of sport. the main rule to score with the ball into the gates of competitors, using
in this case any part of the body except the arms. the
win wins the team that 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 appeared in BC.
Game were purely for entertainment . 100 years ago the game became a student pastime.
There were no unified 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 organized first soccer competition . In England
teams from five colleges met . 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 penalty for breaking the
game rules .
How football became a famous sport
Fame came to football 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 . The international community reacted negatively to monetary relations .
For footballers those receiving money banned from representing the country in national competitions , and team , breaking the rule ,
expelled 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.
popularization of football
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.
Society did not want to accept money games. For players on salary banned from
representing the country in national competitions , and
club, breaking the rule , removed from association.
In 1885 footballers allowed play for a reward. at
the same time the world's first football league appeared , calling its
players professional workers .
In 1872 passed national football match has ended. In match competed players from England and Scotland.
In 1904 the football association called a convention in France.
Members decided to change the organization .
So they created 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 . Competitions
are held once every 2 years . In 2020 Due to the Covid-19 outbreak the game has been canceled for the first time.