use following to get interactive shell prompt for the db container (has to be running)
docker-compose exec <running_mysql_container_service_name> /bin/bash
then do
mysql -u root -p
#password should be specified in docker-compose.yml MYSQL service, envionment variable
MYSQL_ROOT_PASSWORD
No comments:
Post a Comment