MySQL snippets

Create a temporary Docker MySQL container docker run \ --detach \ --name=mysqltest \ --env="MYSQL_ROOT_PASSWORD=FoOPass123" \ --publish 3306:3306 \ mysql PhpMyAdmin (Docker) Before run this command, check the network of MySQL container with docker inspect mytestest. docker run --name myadmin -d -e PMA_HOST= -e PMA_PORTS=3306 -p 8080:80 phpmyadmin Open the browser and go http://localhost:8080. The user is MySQL user (root and FoOPass123 in my case). MySQL workbench (Docker, I don’t use this way) I found this image.