Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7062407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:35:24+00:00 2026-05-28T04:35:24+00:00

I have a set of database files (i.e. .data , .properties and .script file)

  • 0

I have a set of database files (i.e. .data, .properties and .script file) in hsqldb format, but the person who managed them previously quit and left no credentials. When I try to connect to the database using any means to access the standalone file-based database (such as SqlTool or DatabaseManager), passing default “sa” user and default empty password, I get something like that:

java.sql.SQLException: User not found: SA
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
        at org.hsqldb.jdbcDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
...

Is there a way to easily bypass the whole hsqldb authentication and grants scheme and just reset the “sa” user in its full rights? I’ve digged up whole hsqldb documentation and done some research over Google, but I can’t find any means to just bypass it?

Or it’s completely impossible without brute-forcing (i.e. file is in fact encrypted with a given password)? This question mentions that passwords are stored in .script file, but it looks like that the one I have is set to COMPRESSED or BINARY format (I can’t tell which one with my bare eyes) using SET SCRIPTFORMAT command, albeit I see raw live string data in the .data file. Is it possible to decrypt BINARY format?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:35:25+00:00Added an answer on May 28, 2026 at 4:35 am

    If you see cleartext strings in the .data file, then the database is not encrypted.

    As HSQLDB is opensource, you can edit the source to print out the user name and password to the console when the database is opened. Find the class named User for this purpose. This cannot be done with encrypted databases, which are not opened at all without the encryption key.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a mysql database set as utf-8, and csv data set as utf-8,
I have a TSQL script that is used to set up a database as
Suppose the following: I have a database set up on database.mywebsite.com , which resolves
Ok, here is my dilemma I have a database set up with about 5
I have a legacy database set with NLS_LANG set to IW8ISO8859P8. This I cannot
If you have a set of tables in the database that strictly consist of
Say I have an ID row (int) in a database set as the primary
In a database prototype, I have a set of fields (like name, description, status)
I have a system set up to lock certain content in a database table
Looking to have a database query set all the instance variables in a class:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.