Skip to main content
Version: 3.2

Database Installation

This page provides setup instructions for each supported database management system. For each one, it explains how to:

  • Install the database management system and required packages.
  • Create the database and user for UDMG.
  • Grant the required permissions.
  • Verify connectivity to the database. The examples use the open-source usql command-line interface, which is recommended for its versatility and ease of use, but it is not required for UDMG installation or operation.
  • Run a query to confirm database access.

1. Install MySQL​

Refer to the MySQL official documentation for guidance on installation.

info

The database must be running and accessible on the host where UDMG is installed.

2. Create a dedicated database for UDMG​

mysql> CREATE DATABASE udmg;

3. Create a dedicated user for UDMG​

mysql> CREATE USER 'udmgadm'@'localhost' IDENTIFIED BY 'udmg-mysql-password';

4. Grant the required permissions​

mysql> GRANT ALL PRIVILEGES ON udmg.* TO 'udmgadm'@'localhost';

5. Verify the connection​

mysql -u udmgadm -p -h 127.0.0.1 -P 3306 udmg

Expected output:

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 189
Server version: 8.0.44 MySQL Community Server - GPL

Copyright (c) 2000, 2025, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

6. Run a query to confirm database access​

mysql> show tables;

Expected output on a new database:

Empty set (0.00 sec)

This confirms that:

  • The database connection is working.
  • The udmgadm user has access.
  • The database is reachable and currently empty.