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”。这确保某人不能猜测网络的根

密码。

猜你喜欢

转载自blog.51cto.com/shujuliu/2335793
今日推荐