O'Reilly logo

MySQL 8 Cookbook by Karthik Appigatla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installation

Install the prerequisites:

On Ubuntu/Debain:

shell> sudo apt-get install libglib2.0-dev libmysqlclient-dev zlib1g-dev libpcre3-dev cmake git

On Red Hat/CentOS/Fedora:

shell> yum install glib2-devel mysql-devel zlib-devel pcre-devel cmake gcc-c++ gitshell> cd /optshell> git clone https://github.com/maxbube/mydumper.gitshell> cd mydumpershell> cmake .
shell> makeScanning dependencies of target mydumper[ 25%] Building C object CMakeFiles/mydumper.dir/mydumper.c.o[ 50%] Building C object CMakeFiles/mydumper.dir/server_detect.c.o[ 75%] Building C object CMakeFiles/mydumper.dir/g_unix_signal.c.o
shell> make install[ 75%] Built target mydumper[100%] Built target myloaderLinking C executable CMakeFiles/CMakeRelink.dir/mydumperLinking ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required