Skip to content

Quickstart, Requirements: MariaDB Packages - #19

Open
oxzi wants to merge 1 commit into
Icinga:mainfrom
oxzi:10-quickstart-requirements-mariadb-copy-pasta
Open

Quickstart, Requirements: MariaDB Packages#19
oxzi wants to merge 1 commit into
Icinga:mainfrom
oxzi:10-quickstart-requirements-mariadb-copy-pasta

Conversation

@oxzi

@oxzi oxzi commented Aug 3, 2026

Copy link
Copy Markdown
Member

Add copy-pasteable MariaDB package installs to the "Requirements" subsection. While the required versions were already part of the written text, they are easy to miss when just copying all commands from the code boxes.

Package Versions

The package names were verified within containers using the latest stable release of each distribution.

  • Ubuntu
    root@0feec603c37f:/# grep PRETTY_NAME /etc/os-release
    PRETTY_NAME="Ubuntu 26.04 LTS"
    root@0feec603c37f:/# apt-cache search mariadb-server
    mariadb-server - MariaDB database server binaries
    mariadb-server-core - MariaDB database core server files
    mariadb-server-compat - MySQL compatibility links to mariadb-server binaries/scripts
  • Debian
    root@06368930dfdb:/# grep PRETTY_NAME /etc/os-release
    PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
    root@06368930dfdb:/# apt-cache search mariadb-server
    mariadb-server - MariaDB database server binaries
    mariadb-server-10.5 - MariaDB database server binaries (transitional dummy package)
    mariadb-server-compat - MySQL compatibility links to mariadb-server binaries/scripts
    mariadb-server-core - MariaDB database core server files
  • SLES
    56d6e2f43759:/ # grep PRETTY_NAME /etc/os-release
    # The NAME and PRETTY_NAME fields have been chosen to state compatibility between our products.
    PRETTY_NAME="SUSE Linux Enterprise Server 16.0"
    56d6e2f43759:/ # zypper search mariadb
    Refreshing service 'container-suseconnect-zypp'.
    Loading repository data...
    Reading installed packages...

    S  | Name                   | Summary                                                             | Type
    ---+------------------------+---------------------------------------------------------------------+--------
       | libmariadb-devel       | Development files for the MariaDB Connector C API                   | package
    i  | libmariadb3            | MariaDB connector in C                                              | package
       | libmariadb_plugins     | Plugins for the MariaDB C Connector                                 | package
       | libmariadbd-devel      | MariaDB embedded server development files                           | package
       | libmariadbd19          | MariaDB embedded server library                                     | package
       | libmariadbprivate      | Additional internal libraries for the MariaDB C Connector           | package
    i+ | mariadb                | Server part of MariaDB                                              | package
       | mariadb-bench          | Benchmarks for MariaDB                                              | package
    i  | mariadb-client         | Client for MariaDB                                                  | package
       | mariadb-connector-odbc | MariaDB ODBC Connector                                              | package
    i  | mariadb-errormessages  | The error messages files required by server, client and libmariadbd | package
       | mariadb-tools          | MariaDB tools                                                       | package
  • RHEL
    [root@c5c751c1c6a5 /]# grep PRETTY_NAME /etc/os-release
    PRETTY_NAME="Red Hat Enterprise Linux 10.2 (Coughlan)"
    [root@c5c751c1c6a5 /]# dnf search mariadb-server
    Updating Subscription Management repositories.
    Last metadata expiration check: 0:02:13 ago on Mon Aug  3 06:53:15 2026.
    ============================================================================================= Name Exactly Matched: mariadb-server =============================================================================================
    mariadb-server.x86_64 : The MariaDB server and related files
    ================================================================================================= Name Matched: mariadb-server =================================================================================================
    mariadb-server-galera.x86_64 : The configuration files and scripts for galera replication
    mariadb-server-utils.x86_64 : Non-essential server utilities for MariaDB/MySQL applications


I have created this PR as this was once more an issue for a new user brought forward in the Community Forum, https://community.icinga.com/t/setup-new-server-do-i-need-to-manually-install-mysql-mariadb/15546.

Fixes #15.

@oxzi
oxzi requested a review from jrauh01 August 3, 2026 07:22
@cla-bot cla-bot Bot added the cla/signed CLA is signed by all contributors of a PR label Aug 3, 2026

@jrauh01 jrauh01 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When installing the MariaDB package, all code examples, section titles, and prompt comments should be adjusted from mysql to mariadb as well.

Personally I would add the package install to tab-install-icinga.md where all the other packages get installed. The service start could then be moved to the section "Set up MySQL Databases" "Set up MariaDB Databases".

Add copy-pasteable MariaDB package installs to the "Install Packages"
subsection. This allowed getting rid of the "Requirements" subsection.

Note: While MariaDB was installed, the docs continue referring to MySQL
as the DBMS. This is intentional, as Icinga Web 2 also only names the
DBMS MySQL.

---

The package names were verified within containers using the latest
stable release of each distribution.

- Ubuntu

    root@0feec603c37f:/# grep PRETTY_NAME /etc/os-release
    PRETTY_NAME="Ubuntu 26.04 LTS"
    root@0feec603c37f:/# apt-cache search mariadb-server
    mariadb-server - MariaDB database server binaries
    mariadb-server-core - MariaDB database core server files
    mariadb-server-compat - MySQL compatibility links to mariadb-server binaries/scripts

- Debian

    root@06368930dfdb:/# grep PRETTY_NAME /etc/os-release
    PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
    root@06368930dfdb:/# apt-cache search mariadb-server
    mariadb-server - MariaDB database server binaries
    mariadb-server-10.5 - MariaDB database server binaries (transitional dummy package)
    mariadb-server-compat - MySQL compatibility links to mariadb-server binaries/scripts
    mariadb-server-core - MariaDB database core server files

- SLES

    56d6e2f43759:/ # grep PRETTY_NAME /etc/os-release
    # The NAME and PRETTY_NAME fields have been chosen to state compatibility between our products.
    PRETTY_NAME="SUSE Linux Enterprise Server 16.0"
    56d6e2f43759:/ # zypper search mariadb
    Refreshing service 'container-suseconnect-zypp'.
    Loading repository data...
    Reading installed packages...

    S  | Name                   | Summary                                                             | Type
    ---+------------------------+---------------------------------------------------------------------+--------
       | libmariadb-devel       | Development files for the MariaDB Connector C API                   | package
    i  | libmariadb3            | MariaDB connector in C                                              | package
       | libmariadb_plugins     | Plugins for the MariaDB C Connector                                 | package
       | libmariadbd-devel      | MariaDB embedded server development files                           | package
       | libmariadbd19          | MariaDB embedded server library                                     | package
       | libmariadbprivate      | Additional internal libraries for the MariaDB C Connector           | package
    i+ | mariadb                | Server part of MariaDB                                              | package
       | mariadb-bench          | Benchmarks for MariaDB                                              | package
    i  | mariadb-client         | Client for MariaDB                                                  | package
       | mariadb-connector-odbc | MariaDB ODBC Connector                                              | package
    i  | mariadb-errormessages  | The error messages files required by server, client and libmariadbd | package
       | mariadb-tools          | MariaDB tools                                                       | package

- RHEL

    [root@c5c751c1c6a5 /]# grep PRETTY_NAME /etc/os-release
    PRETTY_NAME="Red Hat Enterprise Linux 10.2 (Coughlan)"
    [root@c5c751c1c6a5 /]# dnf search mariadb-server
    Updating Subscription Management repositories.
    Last metadata expiration check: 0:02:13 ago on Mon Aug  3 06:53:15 2026.
    ============================================================================================= Name Exactly Matched: mariadb-server =============================================================================================
    mariadb-server.x86_64 : The MariaDB server and related files
    ================================================================================================= Name Matched: mariadb-server =================================================================================================
    mariadb-server-galera.x86_64 : The configuration files and scripts for galera replication
    mariadb-server-utils.x86_64 : Non-essential server utilities for MariaDB/MySQL applications
@oxzi
oxzi force-pushed the 10-quickstart-requirements-mariadb-copy-pasta branch from 1aae173 to 946ebb6 Compare September 8, 2026 14:22
@oxzi

oxzi commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

Thanks for the review, @jrauh01. I somehow missed it and thus my response is a bit delayed.

After merging #21 and rebasing, I moved the package installation to the tab-install-icinga.md file, as suggested. However, I would continue referring to MySQL instead of MariaDB in the written text, as this is also the keyword used in Icinga Web 2. Furthermore, MariaDB comes with a mysql-compatible binary.

@oxzi
oxzi requested a review from jrauh01 September 8, 2026 14:26
@oxzi

oxzi commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

Furthermore, MariaDB comes with a mysql-compatible binary.

Well, this aged well. Just got this warning:

mysql: Deprecated program name. It will be removed in a future release, use '/nix/store/m5l2vlwq15153rgs9x1k7vsdv8lfccc8-mariadb-server-11.4.12/bin/mariadb' instead

I'm going to change this when I get back from vacation.

@oxzi
oxzi removed the request for review from jrauh01 September 8, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MySQL: Missing install and hard to copy queries

2 participants