/usr/bin/mysql_secure_installation ... Set root password? [Y/n] y New password: Re-enter new password: Password updated successfully! ... Remove anonymous users? [Y/n] y ... Success! ... Disallow root login remotely? [Y/n] y ... Success! ... Remove test database and access to it? [Y/n] y - Dropping test database... ... Success! - Removing privileges on test database... ... Success! ... Reload privilege tables now? [Y/n] y ... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB installation should now be secure. Thanks for using MariaDB!
И пробуем зайти в консоль:
Welcome to the MariaDB monitor. Commands endwith ; or \g. Your MariaDB connection id is 10 Server version: 10.1.13-MariaDB MariaDB Server
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type'\c'toclear the currentinput statement.