News

Docker configuration for running PHP application with MySQL (MySQLi/PDO) and phpMyAdmin. # mariadb docker-compose exec -T db mariadb -u root -proot example < backup.sql # mysql docker-compose exec -T ...
DB_HOST: db is the name of the MySQL service in the docker-compose.yml file. it needs to be used as the host in phpmyadmin because phpmyadmin and mysql aren't in the same container.