Sign inSign up

talkincode/docker-mysql

By talkincode

Updated over 10 years ago

docker mysql

Image
1

2.7K

talkincode/docker-mysql repository overview

docker-mysql

快速安装:

$ wget https://github.com/talkincode/toughmysql/raw/master/tmshell -O /usr/local/bin/tmshell

$ chmod +x /usr/local/bin/tmshell

$ tmshell install
 

指令参考:

$ tmshell help      

usage: tmshell [OPTIONS] instance

docker_setup                install docker, docker-compose
pull                        mysql docker images pull
install                     install default mysql instance
remove                      uninstall mysql instance
config                      mysql instance config edit
status                      mysql instance status
restart                     mysql instance restart
stop                        mysql instance stop
logs                        mysql instance logs
showmaster                  mysql instance show master status
showslave                   mysql instance show slave status
upmaster                    mysql instance update master sync config
backup                      mysql instance backup database
dsh                         mysql instance bash term

All other options are passed to the tmshell program.
 

Tag summary

Content type

Image

Digest

sha256:5b3fcb54d

Size

114.9 MB

Last updated

over 10 years ago

docker pull talkincode/docker-mysql