June 2018
Intermediate to advanced
398 pages
9h
English
The next, logical step after installation is securing it. MariaDB includes a security script that changes the options inside the MySQL configuration files, like creating the root password for accessing the database and allowing remote access. Run the following commands to launch the script:
mysql_secure_installation
The first prompt asks you to provide the root password. This root password is not the Linux root username, but the root password for the MySQL database; since this is a fresh installation, we have not set it yet, so we will simply press Enter to go to the next step:
Enter current password for root (enter for none): <PRESS_ENTER>
The script will suggest setting the password for the root. We will accept ...
Read now
Unlock full access