• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

mariadb-dump not found after WP Toolkit 6.8.2 update

iand90

New Pleskian
Server operating system version
Ubuntu 18.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.72 Update #3
WP Toolkit 6.8.2 updates WP-CLI to 2.12, which incorporates a pull request to "Detect MariaDB vs MySQL". I'm assuming this is the issue which has triggered an error for me when I run WP-CLI command db export through WP Toolkit: /usr/bin/env: ‘mariadb-dump’: No such file or directory. Because previously MariaDB always used mysqldump.

For anyone else coming across this issue, you can just create a symlink
ln -s /usr/bin/mysqldump /usr/bin/mariadb-dump

Should this command be run as part of the next release of WP Toolkit, or an alternative fix? Or is this more something for WP-CLI to remedy?
 
Back
Top