The process of connecting mysql with docker

Connect mysql with docker

1. Start docker first,
insert image description here
when the little whale is no longer flashing, it is started.

2. Input command

 ./start-mysql-from-docker.sh

insert image description here

3. Join the database
insert image description here
4. Prepare to shut down and go, stop the database

 ./stop-mysql-from-docker.sh

insert image description here

Guess you like

Origin blog.csdn.net/qq_30738155/article/details/125451100