2.4.1 Prerequisites

The following components and libraries are required to compile MySQL Router on Linux:

  • An operating system with a compiler that supports C++11.

    Example systems that include this support are Ubuntu 14.04 and later, Oracle Linux 7, and macOS 10.10 and later.


    Enterprise Linux 6: compilation works but requires the Software Collection Library 1.2. For Oracle Linux, see Docs and Downloads. For RedHat and CentOS, see Docs and Downloads.

  • MySQL Server 5.5 or higher client libraries and header files. For example, on Ubuntu this is the libmysqlclient-dev package.

  • Code development tools including gcc, make, and assorted utilities for C++ 11 including GCC 4.8 and later, glibc 2.17 and later, and clang 3.3 and later

  • CMake 2.8.9 or later.

  • Protobuf 3.0


If your MySQL Server installation does not include the header files and compiled client libraries, then you may need to download the MySQL Server source code.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.