Compiling and Installing Playback from Source Code

The source code is available from the Github project here. The easiest way to get the code is with git clone of the desired release, such as the following:

git clone

You should then have a directory named after the release you branched, such as percona-playback.

Compiling on Linux


The following packages and tools must be installed to compile Playback from source. These might vary from system to system.

In Debian-based distributions, you need to:

# apt-get install debhelper libcloog-ppl0 autoconf automake libtool \
gettext intltool libdrizzle-dev libpcap-dev libtbb-dev libmysqlclient-dev \
libboost-program-options-dev libboost-thread-dev pkg-config

In RPM-based distributions, you need to:

# yum install autoconf automake libtool libdrizzle-devel gettext-devel \
libpcap-devel tbb-devel mysql mysql-devel intltool \
boost-program-options-devel boost-thread-devel pkgconfig

Package libmysqlclient-dev is not strictly needed for compiling, but if you don’t have it, you don’t get to do the play back part.


If you are building from git, you will need to run ./config/ first.

$ ./configure
$ make

There are several tests included, these use a dummy database client plugin to mainly test that parsing of the logs is correct.

$ make check

After that you can install the percona-playback with:

$ sudo make install

In some cases you’ll still need to manually link the libraries.

© Copyright 2011-2015, Percona LLC and/or its affiliates.
Except where otherwise noted, this documentation is licensed under the following license:
CC Attribution-ShareAlike 2.0 Generic
Created using Sphinx 1.2.2.
This documentation is developed in Launchpad as part of the Percona Playback source code.
If you spotted innacuracies, errors, don't understood it or you think something is missing or should be improved, please file a bug.