Skip to content

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

Description

@jefft

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
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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions