Home > other >  Create a mysql problems docker
Create a mysql problems docker

Time:09-19

In my centos server installed in mysql, then use the docker mirror installed a mysql,
And then use the docker run command should connect the mysql database is not connected to the docker mirror created in it, why can connect to the server in mysql to above,
Docker run - it - rm mysql: 5.7.21 mysql - h39.106.137.95 - uroot - p

CodePudding user response:

- h39.106.137.95 docker IP is this?

CodePudding user response:

Under the condition of the docker operation, as long as get docker IP and docker database supports remote connections, can normal connection, should need not docker run this command
  • Related