Error connecting to MariaDB in NextCloud

  • Hello, I have a problem connecting to the MariaDB database via NextCloud. I can't add a user. Installation was done via SSH, code below:

    After installation, I launched the address from NextCloud, after completing the form, a message appeared:


    Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1130] Host '' is not allowed to connect to this MariaDB server

    Why is there no connection to the base? What did I do wrong?

    • Official Post

    I think you'll find 99% of folks here, use the linuxserver/nextcloud container.. It's well documented here.

    You'll probably have to ask NC support on this one... as I don't see the official container mentioned here much

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!