/mysql-docker-deploy

deploy a server of mysql and phpmyadmin in docker

Primary LanguageMakefile

required software

mysql docker deploy

  1. Clone this repo
git clone https://github.com/fenggeorgeyu/mysql-docker-deploy.git
cd mysql-docker-deploy
  1. To create the containers of mysql and phpmyadmin run
make create

create container

  1. To access phpymyadmin type in your web browser: http://localhost:8080. By default, the root password is ysu123. You may change the password by change the passwd in the makefile.

  2. To access the SQL of MySQL

make sql

access sql

  1. To access the bash of container
make bash

access bash

  1. To stop containers
make stop
  1. To start or resume containers
make start
  1. To delete containers (need to stop containers first):
make delete

start/stop/delete containers