1 By default, a MariaDB installation has an anonymous user, allowing anyone
2 to log into MariaDB without having to have a user account created for
3 them. This is intended only for testing, and to make the installation
4 go a bit smoother. You should remove them before moving into a
5 production environment.
6
7 Remove anonymous users? [Y/n]
8 ... Success!
1 Normally, root should only be allowed to connect from 'localhost'. This
2 ensures that someone cannot guess at the root password from the network.
3
4 Disallow root login remotely? [Y/n]
5 ... Success!
1 By default, MariaDB comes with a database named 'test' that anyone can
2 access. This is also intended only for testing, and should be removed
3 before moving into a production environment.
4
5 Remove test database and access to it? [Y/n]
6 - Dropping test database...
7 ... Success!
8 - Removing privileges on test database...
9 ... Success!
1 Reloading the privilege tables will ensure that all changes made so far
2 will take effect immediately.
3
4 Reload privilege tables now? [Y/n]
5 ... Success!
1 Cleaning up...
2
3 All done! If you've completed all of the above steps, your MariaDB
4 installation should now be secure.
5
6 Thanks for using MariaDB!
7 [root@localhost ~]#
1 [root@localhost ~]# yum remove -y mariadb-libs
2 已加载插件:fastestmirror
3 正在解决依赖关系
4 --> 正在检查事务
5 ...
6 完毕!
7 [root@localhost ~]#
1 [root@localhost ~]# yum list installed | grep mariadb
2 [root@localhost ~]#