[opencms-dev] Unable to initialize connection pool "default". Is the database up and running?

Christoph Kukulies kuku at physik.rwth-aachen.de
Tue Jun 4 19:06:41 CEST 2024


I have the impression as I have seen this before. Once it was the root cms user not having the correct password in opencms.properties.

Now it has for sure.

04-Jun-2024 18:43:58.068 SEVERE [http-nio-8080-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [default] in context with path [] threw exception
        org.opencms.main.CmsInitException: Critical error during OpenCms initialization: Unable to initialize connection pool "default". Is the database up and running?


The only thing I recently changed was the way I could log in into mysql, (Ubuntu 22.04). Formerly I could only login by giving

mysql -u root -p

I have changed this to passwordless login for root. Not that it doesn't have a password but I can login as system administrative user by just typing

mysql

and I'm logged in. I still can type

mysql -u root -p and I'm prompted for the password. Exactly that one that is in opencms.properties.

But it seems opencms cannot login anymore.

I have no clue at the moment.

--
Christoph



More information about the opencms-dev mailing list