LAMP架构部署和动态网站环境的配置( 五 )



Setting the root password ensures that nobody can log into the MariaDB

root user without the proper authorisation.

Set root password? [Y/n
y //y设置root用户密码

New password: //输入密码

Re-enter new password: //确定密码

Password updated successfully!

Reloading privilege tables..

... Success!

By default a MariaDB installation has an anonymous user allowing anyone

to log into MariaDB 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.

Remove anonymous users? [www.tiaotiaoylzc.com//n
y //y删除匿名用户

... Success!

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

ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [www.fengshen157.com Y/n
y //y禁止root远程登录

推荐阅读