Skip to content

ERROR : can't read "tablename": no such variable , when running command dbset db pg (Postgres) #417

Answered by sm-shaw
noopur100 asked this question in Q&A
Discussion options

You must be logged in to vote

From v4.5 the parameters are stored in a series of SQLite files - it looks like you are having issues with the permissions to create these files.
By default, they will be created in a temp directory. You don't mention what OS you are using, so using Linux as an example after starting HammerDB you should see a series of files in /tmp as follows:

-rw-r--r-- 1 postgres postgres 57344 Aug 18 09:39 generic.db
-rw-r--r-- 1 postgres postgres 28672 Aug 18 09:39 database.db
-rw-r--r-- 1 postgres postgres 16384 Aug 18 09:39 oracle.db
-rw-r--r-- 1 postgres postgres 16384 Aug 18 09:39 mssqlserver.db
-rw-r--r-- 1 postgres postgres 16384 Aug 18 09:39 db2.db
-rw-r--r-- 1 postgres postgres 16384 Aug 18 0…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@noopur100
Comment options

@sm-shaw
Comment options

Answer selected by noopur100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #416 on August 18, 2022 08:42.