docker compose exec mysql-mailcow mysql -u mailcow -p mailcow
Open the mailcow database shell
Starts a MySQL client inside the database container against the mailcow database, prompting for the DBPASS password from mailcow.conf. Run from /opt/mailcow-dockerized. Read-only queries are safe, but direct writes can break the UI, so prefer the admin panel.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.