天天看点

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

Disallow root login remotely? [Y/n]

不允许远程root登录吗?[Y / n]

... 跳过.

By default, MySQL comes with a database named 'test' that anyone can

access. This is also intended only for testing, and should be removedbefore moving into a production environment.

默认情况下,MySQL附带了一个名为“测试”的数据库,任何人都可以访问。这也是目的只用于测试,应该removedbefore移动到生产环境中。

Dropping test database...

删除测试数据库……

Remove test database and access to it? [Y/n]

删除测试数据库和访问吗?

[Y/n]

ERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist

... Failed! Not critical, keep moving...

  • Removing privileges on test database...

    错误1008(HY000)在第1行:不能把数据库的测试;数据库不存在

      …失败了!不重要,继续前进…

      ——删除测试数据库上的特权……

      …成功!

Reloading the privilege tables will ensure that all changes made so farwill take effect immediately.

重新加载权限表将确保所有更改所以farwill立即生效。

Reload privilege tables now? [Y/n] y

现在重新加载权限表吗?[Y / n]

y

All done! If you've completed all of the above steps, your MySQL

installation should now be secure.

继续阅读