#1135143 mariadb-client-core: /usr/bin/mysqlcheck to /usr/bin/maridb-check symlink does not exist

Package:
mariadb-client-core
Source:
mariadb-client-core
Description:
MariaDB database core client binaries
Submitter:
Date:
2026-06-02 00:53:01 UTC
Severity:
normal
#1135143#5
Date:
2026-04-28 08:29:35 UTC
From:
To:
Dear Maintainer,

The mariadb* packages provide /usr/bin/mysql* symlinks to the
appropriate /usr/bin/mariadb-* binaries, however it seems to be missing
the mysqlcheck -> mariadb-check one.

I only noticed it because I'm using a package from an external apt
repository that has a package that depends on virtual-mysql-server that
installs mariadb-server and its dependencies.

It installed a job in /etc/cron.weekly/ that invokes the
/usr/bin/mysqlcheck command which fails at the moment.

Since mariadb-check is in the mariadb-client-core, I figured the bug
report belongs here.

#1135143#10
Date:
2026-06-02 00:37:46 UTC
From:
To:
Hi,

Have you considered updating your cron script to use 'mariadb-check' instead?

You can also install mariadb-client-compat that has the symlink, see
https://packages.debian.org/sid/all/mariadb-client-compat/filelist

#1135143#15
Date:
2026-06-02 00:50:40 UTC
From:
To:
Ah, thank you.

I was not aware of the mariadb-client-compat package.

The cron script comes from a third-party debian package, so I didn't
want to mess with it.
I had created my own `/usr/bin/mysqlcheck -> mariadb-check` symlink as
a workaround, but now that I know of the mariadb-client-compat
package, I have removed that symlink and installed the package
instead.

Thanks, this report can be closed.