You can either connect something like PHPMyAdmin to the MySQL container (Change PHP-Code in 1.8 with Docker installation on Ubuntu), or you can connect to the database via the MySQL command line utility from the web container.
So, docker ps
. From that, find the container that includes the name cms-web_1
Then, substitute name in the following
docker exec -ti name bash
That will get you a shell inside the web container. To connect to MySQL, you’d then run
mysql -u cms -h mysql -p cms
The password will be the one you set in config.env
Please avoid making direct changes however as we can’t offer support once you’ve done so. Many of the tables reference each other so it’s not safe to delete or modify things directly.