Skip to content

Instantly share code, notes, and snippets.

@bradfordpythian
Last active June 20, 2023 17:57
Show Gist options
  • Save bradfordpythian/19830d0f4c1fda0f0c1fd4c8cd80b7a5 to your computer and use it in GitHub Desktop.
Save bradfordpythian/19830d0f4c1fda0f0c1fd4c8cd80b7a5 to your computer and use it in GitHub Desktop.
Install gh-ost - MySQL Online Schema Change Tool
# Latest version can be identifed at https://github.com/github/gh-ost/releases/latest
cd /tmp
[ -z "${GHOST_VERSION}" ] && GHOST_VERSION="20170109081400"
wget https://github.com/github/gh-ost/releases/download/v1.0.34/gh-ost-binary-linux-${GHOST_VERSION}.tar.gz
tar xvfz gh-ost-binary-linux-${GHOST_VERSION}.tar.gz
file gh-ost
sudo mv gh-ost /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment