Skip to main content
lysConsulting
Silver ⭐️
November 3, 2022
Question

Unable to connect Hue to it's database

 

I am unable to complete hue installation due to the following error

Unexpected error: Unable to verify database connection

 

#Hue

 

Capture1.PNG

3 replies

Shelton
Gold ⭐️⭐️⭐️
November 3, 2022

@lysConsulting 
This looks like a driver issue  can you run  the below it would affect your ambari server 

Spoiler
ambari-server setup --jdbc-db=postgres --jdbc-driver=/path/to/postgres/postgresql.jar

Then retry the earlier steps or  just  create  HUE database manually then with the  credentials connect through the HUE service setup 



 

 

 

 

Translate
lysConsulting
Silver ⭐️
November 4, 2022

Hey @Shelton 

First of all thank you for your feedback, but i don't think this is the problem because i have already hive metastore and ranger database running on the same postgres connection!

Translate
Shelton
Gold ⭐️⭐️⭐️
November 4, 2022

@lysConsulting 
Are you using embedded DB? if not can you log in to the HUE database from the CLI? 

Translate