Booting error:

You need to specify one of MARIADB_ROOT_PASSWORD, MARIADB_ALLOW_EMPTY_ROOT_PASSWORD and MARIADB_RANDOM_ROOT_PASSWORD

The startup fails.

The specific startup error information can be seen in the log.

Problems and solutions

This is because the ROOT password is not set in the startup environment variable.

This will cause a startup error.

The solutions are as follows:

Select the container database server you want to start, and then select Edit.

Then select the environment variable.

Just add a MARIADB_ROOT_PASSWORD or some other parameter to the environment variable.

In this case, because our database is test and lAN-only, we used the simplest 123456.

Of course this is not the best practice.

You can use this login to create a remotely accessible user in the database using a random length password and change this parameter to MARIADB_ROOT_PASSWORD.

So your root user can’t access it remotely.

Just restart the container after the application.

At this point your database service status should be started, and then check to see if there is any problem with the remote connection.

www.ossez.com/t/synology-…