How To Install MariaDB on Fedora 40

To Install MariaDB on Fedora 40, you need to follow these steps:

Step 1 : Update

Step 2 : Install MariaDB

Step 3 : Start and Enable MariaDB

Step 4 : Secure MariaDB

Follow the prompts:

- Enter root password (leave blank if not set)

- Switch to unix_socket authentication: y

- Change the root password: y

- Remove anonymous users: y

- Disallow root login remotely: y

- Remove test database and access to it: y

- Reload privilege tables now: y

Step 5 : Check Status

Step 6 : Access MariaDB

Step 7 : Create Admin and Grant Privileges

Congratulations! You have successfully installed MariaDB on Fedora 40 and secured it.