Re: Unable to initialize connection pool "default". Is the database up and running?

Christoph Kukulies via opencms-dev <[email protected]> Tue, 4 Jun 2024 19:09:47 +0200
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <[email protected]>
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 <[email protected]>:
> 
> 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
> 
> 
>

_______________________________________________
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