1. 程式人生 > >MYSQL 5.6安裝設定圖解

MYSQL 5.6安裝設定圖解

MYSQL 5.6安裝設定圖解
網路翻譯措辭可能會有不當,歡迎指出。

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
注意:執行這個指令碼的所有部分所有MySQL的建議伺服器在生產中使用!請仔細閱
讀每一步!

In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

以登入到MySQL的安全,我們需要的當前根使用者密碼。如果你剛剛安裝MySQL,你

還沒有設定root密碼,密碼將是空白的,所以你應該在這裡按回車。

Enter current password for root (enter for none):
輸入當前密碼為根(沒有輸入):

OK, successfully used password, moving on...
好,成功地使用密碼,繼續……

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

You already have a root password set, so you can safely answer 'n'.

設定root密碼可以確保沒有人能夠登入到MySQL根使用者沒有適當的授權。你已經

有一個根密碼設定,所以你可以放心地回答“n”。

Change the root password?[Y/n] n
改變根密碼嗎?
n

... skipping.
…跳過.

By default, a MySQL installation has an anonymous user, allowing

anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the

installation
go a bit smoother. You should remove them before moving into a
production environment.

預設情況下,一個MySQL安裝有一個匿名使用者,允許任何人登入到MySQL而無需創

建使用者帳戶他們。這個目的是隻用於測試,安裝去更平緩一些。你應該進入前刪

除它們生產環境。

Remove anonymous users? [Y/n] y
刪除匿名使用者?[Y / n]Y

... Success!
…成功!

Normally, root should only be allowed to connect from 'localhost'.

Thisensures that someone cannot guess at the root password from the

network.

正常情況下,從根只能允許連線“localhost”。這確保某人不能猜測網路的根

密碼。