mariadb -V
mariadb from 11.4.4-MariaDB, client 15.2 for Linux (x86_64) using readline 5.1
echo $PATH
/usr/local/mariadb-lts/bin:...
which mariadb-dump mariadb-check mysqldump mysqlcheck
/usr/local/mariadb-lts/bin/mariadb-dump
/usr/local/mariadb-lts/bin/mariadb-check
/usr/local/mariadb-lts/bin/mysqldump
/usr/local/mariadb-lts/bin/mysqlcheck
running
wp-cli cli version
WP-CLI 2.11.0
wp-cli core version
6.6.1
exec
wp-cli db check
/usr/bin/env: ‘mysqlcheck’: No such file or directory
wp-cli db export wpcli-db-dump.sql
/usr/bin/env: ‘mysqldump’: No such file or directory
/usr/bin/env: ‘mysqldump’: No such file or directory
wp-cli db check
mysqlcheck: Deprecated program name. It will be removed in a future release, use '/usr/local/mariadb-lts/bin/mariadb-check' instead
test.wp_commentmeta OK
...
Success: Database checked.
wp-cli db export wpcli-db-dump.sql
mysqldump: Deprecated program name. It will be removed in a future release, use '/usr/local/mariadb-lts/bin/mariadb-dump' instead
mysqldump: Deprecated program name. It will be removed in a future release, use '/usr/local/mariadb-lts/bin/mariadb-dump' instead
ls -al wpcli-db-dump.sql
-rw-rw----+ 1 wwwrun www 1.7M Aug 17 14:29 wpcli-db-dump.sql
on wp running with a local mariadb install
running
exec
easy tmp fix for default install
now
noted & fixed, e.g., @
drush
projnot urgent at all. would be a convenient cleanup to support both native mariadb- &/or mysql cmds.