• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about Hotkey issue, Click here to check it out!
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
HPDM 5
Microsoft Windows Server 2016

Hello,

 

I want to change the database credentials that the system uses to log into the SQL db. The old credentials don't exist anymore.

How can I change those credentials?

I tried editing the hibernate.properties file but that doesn't work.

Daniel651_0-1630074024500.png

When I open the configuration editor I see the username:

Daniel651_1-1630074082000.png


But when I click Manage Database, I get an error that the login has failed - Note - I have confirmed the DB login works.

Daniel651_2-1630074147500.png


This is what I see in hpdm-dbsetup log file:


2021-08-27 10:07:13 [WT-EventQueue-0] DEBUG DBSetupWizardPanel - doPageChanging: SelectionPage >> UseExistDB
2021-08-27 10:07:18 [WT-EventQueue-0] INFO DBObject - Database setup failed.
2021-08-27 10:21:25 [main ] INFO MainApplication - HP Device Manager Database Setup Application Version: 5.0.3610.38748
2021-08-27 10:21:32 [Thread-0] INFO DBSetupUtil - ..\conf\windows_auth.conf (The system cannot find the file specified)
2021-08-27 10:21:32 [Thread-0] INFO HibernateDBObject - Preparing Hibernate properties.
2021-08-27 10:21:32 [Thread-0] DEBUG DBObject - db = com.hp.hpdm.dbsetup.dao.HibernateDBObject@70a0d9a8
2021-08-27 10:21:32 [Thread-0] DEBUG DBObject - db.conn = null
2021-08-27 10:21:33 [Thread-0] WARN HibernateDBObject - com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "hpdmdbsep5" requested by the login. The login failed. ClientConnectionId:81006b18-09d4-40ab-b491-6323cc7ff3c5
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)
com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:251)
com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:81)
com.microsoft.sqlserver.jdbc.SQLServerConnection$1LogonProcessor.complete(SQLServerConnection.java:2826)
com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:3082)
com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:2361)
com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:44)
com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:2347)
com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:6276)
com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1794)
com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1405)
com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1069)
com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:905)
com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:452)
com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1014)
java.sql/java.sql.DriverManager.getConnection(Unknown Source)
java.sql/java.sql.DriverManager.getConnection(Unknown Source)
com.hp.hpdm.dbsetup.dao.DBObject.getConnection(DBObject.java:171)
com.hp.hpdm.dbsetup.util.DBSetupUtil.upgradeDB_all(DBSetupUtil.java:682)
com.hp.hpdm.dbsetup.util.DBSetupUtil.upgradeDBAutomatic(DBSetupUtil.java:927)
com.hp.hpdm.dbsetup.handler.PageChangingListener$5.go(PageChangingListener.java:405)
com.hp.hpdm.dbsetup.util.ProgressDialog$3.run(ProgressDialog.java:126)
java.base/java.lang.Thread.run(Unknown Source)

2021-08-27 10:22:33 [Thread-0] WARN DBSetupUtil - Get DB Connection fail.
2021-08-27 10:22:34 [WT-EventQueue-0] DEBUG DBSetupWizardPanel - doPageChanging: SelectionPage >> UseExistDB
2021-08-27 10:22:36 [WT-EventQueue-0] INFO DBObject - Database setup failed.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.