Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Compile and install MySQL
Shell Groff Perl
branch: master
Failed to load latest commit information.
bin Fixed usage missing --sudo option.
build change to perlbrew like layout
dists change to perlbrew like layout
share/mysql-build Add 5.5.43, 5.6.24
xt tweak
.gitignore add .gitignore
LICENSE Add LICENSE
README.md Add LICENSE

README.md

mysql-build

mysql-build - provides a command to compile and install different versions of MySQL.

The overall structure is loosly borrowed from Sam Stephenson's ruby-build.

Installation

git clone git://github.com/kamipo/mysql-build.git ~/mysql-build

export PATH="$HOME/mysql-build/bin:$PATH"

Usage

mkdir -p ~/opt/mysql
mysql-build -v 5.6.13 ~/opt/mysql/5.6.13

cd ~/opt/mysql/5.6.13
./scripts/mysql_install_db
./bin/mysqld_safe &

./bin/mysql -e 'show variables like "version"'
Something went wrong with that request. Please try again.