#2910·devbox

mariadb prints deprecation warning due to use of 'mysql_install_db' alias

Author: jefftCreated Jul 9, 2026Updated Jul 9, 2026
Labelsbugtriage

What happened?

The mariadb plugin's setup_db.sh script uses mysql_install_db when it should use mariadb-install-db. This results in a deprecation warning when the service is first started:

/tmp/mariadbtest/.devbox/nix/profile/default/bin/mysql_install_db: Deprecated program name. It will be removed in a future release, use 'mariadb-install-db' instead

Steps to reproduce

mkdir /tmp/mariadbtest
cd /tmp/mariadbtest
devbox init
devbox add mariadb
devbox services up
bash
jturner@jturner-desktop:/tmp/mariadbtest$ devbox services up
Info: Ensuring packages are installed.
✓ Computed the Devbox environment.
/tmp/mariadbtest/.devbox/nix/profile/default/bin/mysql_install_db: Deprecated program name. It will be removed in a future release, use 'mariadb-install-db' instead
Installing MariaDB/MySQL system tables in '/tmp/mariadbtest/.devbox/virtenv/mariadb/data' ...
OK

To start mariadbd at boot time you have to copy
support-files/mariadb.service to the right place for your system

Command

services

devbox.json

jsonc

Devbox version

0.17.5

Nix version

nix (Nix) 2.34.6

What system does this bug occur on?

Linux (x86-64)

Debug logs

No response