Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# This is inspired by https://gist.github.com/xaicron/5524548, but this doesn't require mysqlenv and zsh
#
# Prepare (for CentOS):
# cpanm MySQL::Sandbox
# sudo yum install cmake ncurses-devel
# mkdir -p ~/opt/mysql
# git clone git://github.com/kamipo/mysql-build.git ~/opt/mysql/mysql-build
# ~/opt/mysql/mysql-build/bin/mysql-build -v 5.1.69 ~/opt/mysql/5.1.69
# make_sandbox 5.1.69