Derek Coleman & Associates Inc logoDerek Coleman & Associates Inc

Home / Support / MariaDB on AlmaLinux 9

MariaDB on AlmaLinux 9 — Support & Quick Start

MariaDB on AlmaLinux 9 — MariaDB on AlmaLinux 9: the community-driven MySQL-compatible database on an enterprise-grade RHEL-compatible base. Published by Derek Coleman & Associates Inc on the Azure Marketplace, deployed in your own Azure subscription.

At a glance

Application ports3306 (MySQL protocol) — opened in firewalld at first boot
Admin credential filesudo cat /var/lib/mysql/.root-password
Sign in asroot (root@localhost, password set at first boot)
Service(s)mariadb
Configuration/etc/my.cnf.d/mariadb-server.cnf
Logsjournalctl -u mariadb -f; /var/log/mariadb/mariadb.log
VersionMariaDB (AlmaLinux 9 AppStream package)
PlatformAlmaLinux 9

Quick start

  1. Deploy from the Azure Marketplace (Get It Now → Create), choosing your SSH key at the Administration step.
  2. Allow inbound SSH (22) for yourself plus the application port(s): 3306 (MySQL protocol) — to your application subnets only — restrict to your own IP where possible. The in-image firewall already allows them; only the Network Security Group (NSG) keeps them closed.
  3. Connect locally with `mariadb -u root -p` using the generated password (see First login below), create your application user and schema.
  4. Remote clients: MariaDB listens on all interfaces; firewalld already allows 3306, so scope the NSG rule tightly.

First login / credentials

This image generates its admin credential on the VM at first boot — nothing is pre-set. SSH into the VM with the username + key you chose at deploy, then print the generated credential:

ssh <your-username>@<VM-IP>
sudo cat /var/lib/mysql/.root-password

Sign in as root (root@localhost, password set at first boot).

  1. Print the generated root password from the file (first boot sets it with ALTER USER and removes anonymous users and the test database).
  2. Connect locally: mariadb -u root -p.
  3. Create your application user and schema, change the root password, and delete the file.

The MariaDB root password is generated at first boot and stored root/mysql-readable in /var/lib/mysql/.root-password. Change it after first sign-in.

Still stuck?

Email support@dcassociatesgroup.com (response within 1 business day) or send a message via the contact form. Include the offer name, VM size, region, and any log output — sudo journalctl -u <service> -n 100 usually tells the story.