[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:09:47 CEST 2024
Now I see the cause in opencms.log:
Caused by: java.sql.SQLInvalidAuthorizationSpecException: (conn=3560) Access denied for user 'root'@'localhost'
> Am 04.06.2024 um 19:06 schrieb Christoph Kukulies via opencms-dev <opencms-dev at opencms.org>:
>
> 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
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20240604/4fe379a7/attachment.htm>
More information about the opencms-dev
mailing list