MariaDB (Ubuntu 22.04)

MariaDB (Ubuntu 22.04)

  • OS: ubuntu 22

Description

MariaDB is an open-source relational database management system. It was created as a fork of MySQL when it was acquired by Oracle Corporation. MariaDB is designed to be a drop-in replacement for MySQL, meaning that users can easily switch to MariaDB without needing to make any changes to their existing applications. MariaDB offers improved performance, scalability, and security over MySQL, and includes a number of new features not available in MySQL, such as support for dynamic columns and JSON data types.

Software included

Package Version
MariaDB 10.10.2

Initial start of the service

This application image is configured to generate a random root password. Once generated, it will be written to the configuration file /root/.my.cnf. To get started with the app, all you need to do is login to your virtual machine via SSH, then switch to root. From here on you now have a MySQL shell via the already mentioned configured root MySQL user from which you can create databases, configure users, etc.

Controlling MariaDB service

Check the status of MariaDB service

systemctl status mariadb

Restarting MariaDB service

systemctl restart mariadb

Stopping MariaDB service

systemctl stop mariadb

Starting MariaDB service

systemctl start mariadb