Installation
OSX
Install stable version
brew tap cytopia/tap brew install mysqldump-secure
Install latest head
brew tap cytopia/tap brew install --HEAD mysqldump-secure
Linux, FreeBSD or OSX
Download
Tarball (stable)
wget https://github.com/cytopia/mysqldump-secure/archive/0.16.3.tar.gz -O - | tar -xz cd mysqldump-secure
Tarball (latest head)
wget https://github.com/cytopia/mysqldump-secure/archive/master.tar.gz -O - | tar -xz cd mysqldump-secure
Git (stable)
git clone https://github.com/cytopia/mysqldump-secure.git cd mysqldump-secure git checkout 0.16.3
Git (latest head)
git clone https://github.com/cytopia/mysqldump-secure.git cd mysqldump-secure
Configure
Configure for system default location
./configure
Configure to custom location (e.g.: /usr/local)
./configure --prefix=/usr/local
Build and install
make sudo make install
Checking
Once mysqldump-secure is installed you should run the self-test which tells you all about the stuff that is wrong or missing. By default only the mysql connection will fail and the rest will be auto-configured:
sudo mysqldump-secure --test