Database Connection Issue
Closed this issue · 3 comments
roddajohn commented
Shadowghost commented
Database settings for mailcow are handled by the following variables in your .env
file:
# ------------------------------------
# Mailcow SQL database configuration
# ------------------------------------
MCDBNAME=mailcow
MCDBUSER=mailcow
# Please use long, random alphanumeric strings (A-Za-z0-9)
MCDBPASS=
MCDBROOT=
If you moved your installation from an existing mailcow install, keep in mind that the variable's name changed from DBPASS
to MCDBPASS
and from DBROOT
to MCDBROOT
.
You can also check the docker logs with docker-compose logs -f mysql-mailcow
.
Btw: I don't have this problems on a fresh setup.
roddajohn commented
Problem was fixed by reinstalling docker and docker-compose—there were hanging images.
Shadowghost commented
Nice to hear, that you've figured it out :)