This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |