MySQL (Ubuntu 22.04)

MySQL (Ubuntu 22.04)

  • OS: ubuntu 8

Description

MySQL is a relational database that provides powerful functionality for storing, managing, and manipulating large amounts of data. It is a free and open source database that can be used in various applications, including web applications, software systems, and others. MySQL is a highly scalable database that can be used for storing large amounts of data and can be scaled as per the needs of the application.

Software included

Package Version
MySQL server 8.0.31
MySQL client 8.0.31

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 MySQL service

Check the status of MySQL service

systemctl status mysqld

Restarting MySQL service

systemctl restart mysqld

Stopping MySQL service

systemctl stop mysqld

Starting MySQL service

systemctl start mysqld