To log into MariaDB without having to have a user account created for ![]() Root user without the proper authorisation.īy default, a MariaDB installation has an anonymous user, allowing anyone ![]() Setting the root password ensures that nobody can log into the MariaDB OK, successfully used password, moving on. You haven't set the root password yet, the password will be blank,Įnter current password for root (enter for none): In order to log into MariaDB to secure it, we'll need the current SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! It will ask you to set root password and disable remote root login: NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB Set MariaDB root password for logging in: sudo mysql_secure_installation Now start and enable MariaDB database service and enable it to run on boot up: sudo systemctl enable -now mariadb ![]() Ensure the server is update: sudo yum -y update
0 Comments
Leave a Reply. |