-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HammerDB not saving/using password #396
Comments
Hi, |
Thank you for the reply. I'll try out your suggestions, I only mention Windows Defender as it flagged several files contained within the HammerDB zip when I tried to verify dependencies, and it then quarantined them. We created a test account with a password containing no special characters, thinking that might be the issue but the behaviour was the same. I should note, the only time we are able to get it working properly, is by running it after the successful install from the .exe package as opposed to the zip file. |
Many thanks for the update and the correction, perhaps this quaranting may have something to do with it as it is not something observed during testing. |
It only ever works the one time following the installation launch. After that it will continue to have the same password error. It was being ran on Windows Server 2022 Standard (10.0.20348) |
Many thanks for the quick update. That does sound like an issue with the new SQLite storage. And this also only occurs with a password with special characters or with any password? and for both test and timed scripts. |
This is with any password, at first we had one with special characters but then moved to creating an entirely new SQL account with a standard alphanumeric password which failed in the same way. |
Thanks, it would be great if you can confirm that removing the ".db" files in the temp area, temporarily resolves the issue on restart. I was sure that it wasn't to do with Windows defender, however now I am not so sure and wondering whether something is preventing the data being stored correctly so will need to try and reproduce. |
As a first step, I've confirmed that the contents of the zip and installer are the same and there are no packaging errors with the only difference being the uninstaller for the installer package.
I've then set a password for the sa user as shown and this runs correctly (test script example) I've also verified that setting an incorrect password prevents logging in so the password is being used
print dict in the CLI shows the correct password
and also direct query of the SQLite storage shows that the value is correctly stored
So far it has not been possible to reproduce the error. |
To permit further investigation, please try the following tests. Firstly, in the bin directory, click on tclsh86t and run the following to query and manually update the SQLite storage. Change the database name to the location of where yours is stored. Once updated, use the CLI to show the database changes. if this doesn't work for you, it is possible that something is blocking the correct use of SQLite in your configuration. |
Looks like we're up and running for the time being. I'll let you know if anything changes, really appreciate the assistance. |
Closed as not a bug. |
Hi All,
We're having an issue getting HammerDB setup. Each time we try to set the password, we're met with this "mssqls_pass" error, and no matter what we try it's acting like it's not being given a password. We've removed all special characters, set it in the config file, tried using the installer instead of the zip file, and we've even gone as far as temporarily disabling Windows defender. Nothing so far is working and we need some help figuring this out.
Please find the error log below, any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: