mysql_secure_installation安全初始化
警告
本文最后更新于 2020-05-30 17:09,文中内容可能已过时。
/usr/bin/mysql_secure_installation
Enter current password for root (enter for none): #提示输入root密码
Set root password? [Y/n] #是否设置root密码
New password: #输入密码
Re-enter new password: #再输入一次密码
Remove anonymous users? [Y/n] #删除匿名用户
Disallow root login remotely? [Y/n] #禁止root远程登陆
Remove test database and access to it? [Y/n] #删除测试库
Reload privilege tables now? [Y/n] #刷新授权表
请我喝杯水

