>docker run --name mysql-server -e MYSQL_ROOT_HOST=% -e MYSQL_ROOT_PASSWORD=12345 -p 3306:3306 -d mysql/mysql-server
# For MySQL, you should open container ports for connection.
-p 3306:3306 # add this part for cli commands
# for yaml files add the part below
ports:
- 3306:3306