DEV Community


Discussion on: [Node] phpMyAdmin alternative for Node.js?

bgadrian profile image
Adrian B.G. • Edited

MySQL Workbench is pretty great, but if you want PHPMyAdmin you do not need to pollute your local env with Apache and PHP if you use docker. All the dependencies will be inside the container, which can be removed or upgraded with one command.

##install the mysql & phpmyadmin 
docker run --name=mysql5 -e MYSQL_USER=iamgroot -e MYSQL_PASSWORD=a -d mysql/mysql-server:5.7 && \
docker run --name phpmyadmin5 -d --link mysql5:db -p 8080:80 phpmyadmin/phpmyadmin 

More on

After the install you can start/close it as needed

docker start/stop phpmyadmin5