• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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