mysql_secure_installation初始化数据库服务程序 root root //设置密码 y //删除匿名用户 n //允许root用户从远程登录 y //移出test数据库,取消对它的访问 y //刷新授权表,使初始化立即生效