SafeExamBrowser / seb-server-setup

Cotains resources and packages to setup and install SEB-Server. Currently only docker-based setup is supported
Mozilla Public License 2.0
8 stars 13 forks source link

SEBServer is running into an Error while connecting to the MySQL #10

Closed mrcodecloud closed 2 years ago

mrcodecloud commented 2 years ago

Describe the bug HikariPool-1 - Exception during pool initialization. java.sql.SQLInvalidAuthorizationSpecException: Could not connect to address=(host=seb-server-mariadb)(port=3306)(type=master) : (conn=32) Access denied for user 'root'@'172.19.0.3' (using password: YES)

To Reproduce Steps to reproduce the behavior:

  1. Install the prod on the ubuntu machine
anhefti commented 2 years ago

Hi, It seems the DB password is not set correctly, either on the DB side or the SEB Server side (or both sides).

What setup do you actually use, prod/basic or prod/dockerhub? In the dockerhub setup, please make sure you have set the DB_SA_PWD environment variable before startup. In the basic setup make sure that the "secret" file you have to create on the setup process is correct set.