GithubHelp home page GithubHelp logo

shiyongabc / docker-mysql-cluster Goto Github PK

View Code? Open in Web Editor NEW

This project forked from strucoder/docker-mysql-cluster

0.0 2.0 0.0 30 KB

use docker and kingshard build mysql cluster

Shell 100.00%

docker-mysql-cluster's Introduction

Docker-mysql-cluster

use docker and kingshard build mysql cluster

How to use

  • sh start.sh

print

create network

docker network create testwifi

sh start.sh

Creating dockermysqlcluster_mysql1_1 ...
Creating dockermysqlcluster_mysql1_1 ... done
wait-for-it.sh: waiting 15 seconds for 172.17.0.13:3306
wait-for-it.sh: 172.17.0.13:3306 is available after 10 seconds
mysql1 is start success
Creating dockermysqlcluster_mysql2_1 ...
Creating dockermysqlcluster_mysql2_1 ... done
wait-for-it.sh: waiting 15 seconds for 172.17.0.14:3306
wait-for-it.sh: 172.17.0.14:3306 is available after 11 seconds
mysql2 is start success
start kingshard
dockermysqlcluster_mysql1_1 is up-to-date
dockermysqlcluster_mysql2_1 is up-to-date
Creating dockermysqlcluster_kingshard_1 ...
Creating dockermysqlcluster_kingshard_1 ... done


docker-compose ps

             Name                          Command             State           Ports
             ---------------------------------------------------------------------------------------------
             dockermysqlcluster_kingshard_1   /kingshard                    Up      0.0.0.0:9696->9696/tcp
             dockermysqlcluster_mysql1_1      docker-entrypoint.sh mysqld   Up      3306/tcp
             dockermysqlcluster_mysql2_1      docker-entrypoint.sh mysqld   Up      3306/tcp

docker-mysql-cluster's People

Contributors

shiyongabc avatar strucoder avatar xcyxiner avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.