Skip to content

Access denied for user mail_admin, unknown database onlyoffice_mailserver #203

@KaKi87

Description

@KaKi87

Hello,

When trying to install OnlyOffice Workspace using docker-compose.workspace.yml, I'm encountering the following error : ERROR 1045 (28000): Access denied for user 'mail_admin'@'172.18.0.6' (using password: YES).

So I manually accessed the database and noticed that user doesn't exist at all, therefore I changed MAIL_SERVER_DB_USER=mail_admin to MAIL_SERVER_DB_USER=root and MYSQL_ROOT_USER=mail_admin to use MYSQL_ROOT_USER=root, and now I'm encountering another error : ERROR 1049 (42000): Unknown database 'onlyoffice_mailserver'.

It seems no migration occurs despite starting the server for the first time.

What to do ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions