Skip to content

Instantly share code, notes, and snippets.

@junxie6
Created September 16, 2018 16:25
Show Gist options
  • Save junxie6/0056654c37f3e1e4eb3ea2db2e8b29c5 to your computer and use it in GitHub Desktop.
Save junxie6/0056654c37f3e1e4eb3ea2db2e8b29c5 to your computer and use it in GitHub Desktop.
Building MySQL from Source Code
# apt-get update && apt-get install build-essential cmake bison -y
# cd /usr/local/src \
&& git clone https://github.com/mysql/mysql-server.git --depth 1 \
&& mkdir bld \
&& cd bld \
&& cmake ../mysql-server \
-DDOWNLOAD_BOOST=1 \
-DWITH_BOOST=/usr/local/src/bld \
&& make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment