ITADB431S Error connecting to database Access denied for 'VaultUser'@'localhost'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ITADB431S Error connecting to database Access denied for 'VaultUser'@'localhost'

L1 Bithead

We are doing a fresh install of our DR vault in our Test environment. Once installed, we are getting the following error:

 

ITADB431S Error connecting to database Access denied for 'VaultUser'@'localhost'

 

I've already reviewed the other KB articles regarding this... we have copied the appropriate keys over from our primary vault, including the vaultuser.pass file. We even went as far as regenerating the vaultuser.pass file on our primary vault and copying that over... same error.

 

Wondering if anyone has ensured they have the appropriate keys and file on a new vault installation and received this error & were able to resolve

7 REPLIES 7

L7 Applicator

hey @Christopher Ninteau​ 

Can you check your dbparm.ini "DatabaseConnectionPasswordFile=" setting and make sure it's pointing to the correct file?

 

Which Article did you try already?

 

-Matt

L1 Bithead

Hey Matt,

 

So I had already checked dbparm and it's pointing to the correct file. So here is an update, since I've seen other people ask this question as well... we moved the same exact keys, vaultpass file, etc onto a brand new fresh server and did a Vault install & did not receive the error. I think this server had hardening done on it previously and my guess is something associated with the hardening prior to the vault install was breaking it

ah ok. You should def not harden the server prior to install. it must be a vanilla server.

 

-Matt

You must not copy the pass files from the running vault, because then the installation tries to use them on the freshly installed vault DB and this will not work (access denied). You only have to provide the keys, not the pass files and then the installation creates them properly.

L3 Networker

I encountered a similar issue after installing the vault on a new machine. When attempting to start the DR service on the newly installed vault, it displayed the same error. We were able to resolve the issue by reinstalling vault, DR applicaiton and copying the Backup.key, replicationUser.pass, and VaultEmergency.pass files from the active vault.

L3 Networker

I encountered a similar issue after installing the vault on a new machine. When attempting to start the DR service on the newly installed vault, it displayed the same error. We were able to resolve the issue by reinstalling vault, DR applicaiton and copying the Backup.key, replicationUser.pass, and VaultEmergency.pass files from the active vault.

L3 Networker

I encountered a similar issue after installing the vault on a new machine. When attempting to start the DR service on the newly installed vault, it displayed the same error. We were able to resolve the issue by reinstalling vault, DR applicaiton and copying the Backup.key, replicationUser.pass, and VaultEmergency.pass files from the active vault.

  • 3419 Views
  • 7 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!