Unable to conenct to external database after the ugprade to 8.6.2

Hi, We have upgraded recently 8.6.2 - We are able to connect to pega data and pega rules but we are not able to connect external database. -We are getting the folowing error.

Java Exception: com.pega.platform.datastore.ConfigurationException: The DataStoreConfiguration was not found for the DB Name “XXX” as it is not registered in the configuration map

Hi @SrikarY89,

In order to narrow down the issue. Could you please test the connectivity to external database using any of SQL client available? If it is not working, then there might be issue with the external DB end. in this case please work with your DBA to get this resolved.

If connectivity to external DB passes through SQL client. Could you please recreate the DB rule in 8.6.2 with different supported configuration as listed below and test the outcome.

https://docs-previous.pega.com/system-administration/85/configuring-connectivity-parameters-external-pega-platform-database

https://docs-previous.pega.com/modifying-connection-pools

I believe JNDI configuration is being used in DB rule at your end. Could you please try using JDBC connection pool configuration and test?

Also please look into the solution suggested in the below support article, which may help here.

https://community.pega.com/support/support-articles/unable-access-external-database-after-upgrade-pega-814

Thanks,

@GOWRISHANKAR I deleted the instance and recreated - it started working fine. Thank you.

@SrikarY89 ,We have resolved this type of issue using your ideas.

Thank you so much.