Skip to content

Latest commit

 

History

History
95 lines (55 loc) · 1.78 KB

README.md

File metadata and controls

95 lines (55 loc) · 1.78 KB

NAME

mysqlenv - MySQL environment manager

SYNOPSIS

mysqlenv command syntax:

mysqlenv <command> [options] [arguments]

Commands:

# show usage
mysqlenv help

# list available mysql versions
mysqlenv available

# install mysql binary
mysqlenv install 5.6.10

# list installed mysqls
mysqlenv list

# execute command on current mysql
mysqlenv exec mysql -uroot test -e '...'

# change global default mysql to 5.1.68
mysqlenv global 5.1.68

# change local mysql to 5.5.30
mysqlenv local 5.5.30

# run this command after install, contains executable script.
mysqlenv rehash

# locate a program file in the mysql's path
mysqlenv which mysqladmin

# show current mysql version
mysqlenv version

# upgrade itself
mysqlenv self-upgrade

Generic command options:

-h, --help      Shortcut of `mysqlenv help`.
--version       Show mysqlenv version.

See mysqlenv help for the full documentation of mysqlenv.

See mysqlenv help <command> for detail description of the command.

DESCRIPTION

MySQL A-GO!GO!

INSTALLATION

1. Install your system

Run in your terminal the following:

curl -kL http://bit.ly/mysqlenv | bash

or

cpanm git://github.com/xaicron/mysqlenv.git
mysqlenv self-install

2. Setup your shell

You should run the following:

echo 'source ~/.mysqlenv/etc/bashrc' >> ~/.bashrc

NOTE: if you using zsh then modify your ~/.zshrc .

And restart your shell.

BUG REPORTING

Plese use github issues: https://github.com/xaicron/mysqlenv/issues.

LICENSE

Copyright (C) xaicron.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

xaicron [email protected]