Answers for "connect to mysql in docker container"

5

connect mysql docker

docker container run -d -p 3306:3306 --name mysql --env MYSQL_ROOT_PASSWORD=123456 mysql

docker container exec -it mysql bash
Posted by: Guest on August-05-2020
0

run docker container with database as rds metabase

docker run -d -p 3000:3000 
  -e "MB_DB_TYPE=postgres" 
  -e "MB_DB_DBNAME=metabase" 
  -e "MB_DB_PORT=5432" 
  -e "MB_DB_USER=<username>" 
  -e "MB_DB_PASS=<password>" 
  -e "MB_DB_HOST=my-database-host" 
  --name metabase metabase/metabase
Posted by: Guest on May-25-2020

Code answers related to "connect to mysql in docker container"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language