mydumper command not found

In this troubleshooting guide we learn how to fix mydumper command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mydumper: command not found

or when using sudo you get the following error message

sudo: mydumper: command not found

Solutions to mydumper: command not found

How To Fix mydumper: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mydumper is provided by mydumper package.

mydumper is:

Mydumper (aka. MySQL Data Dumper) is a high-performance multi-threaded backup (and restore) toolset for MySQL and Drizzle. The main developers originally worked as Support Engineers at MySQL (one has moved to Facebook and another to SkySQL) and this is how they would envisage mysqldump based on years of user feedback.

Mydumper features

Lightweight C source Up to 10x faster dumps compared to mysqldump Consistent snapshots for transactional and non-transactional tables File compression on-the-fly Binary log dumps Multi-threaded restore utility Daemon mode for timed snapshots and continuous binary logs

Mydumper is still under active development but is well tested/used in production on some large installations.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mydumper

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mydumper.

sudo apt -y install mydumper

Or if you have aptitude installed you can use the following command.

sudo aptitude install mydumper

Summary

In this tutorial we learn how to fix mydumper command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.