MySQL (Ubuntu 22.04)

MySQL (Ubuntu 22.04)

  • OS: ubuntu 8

Description

This image combines MySQL with Ubuntu 22.04 so you can start with a ready-to-run environment instead of manual provisioning. It is optimized for relational data storage for web workloads, while keeping the underlying operating system stable and maintainable for long-term operations. Choose this stack when you want to reduce setup time, standardize infrastructure, and launch MySQL-based workloads on Ubuntu 22.04 quickly.

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