cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

./thingworx-database-setup.sql: No such file or directory

Newbie

./thingworx-database-setup.sql: No such file or directory

I am getting this error in thingworxPostgresDBSetup.bat file, eventhough i am having thingworx-database-setup.sql file in that directory

3 REPLIES 3

Re: ./thingworx-database-setup.sql: No such file or directory

Hi Arunprasath,

Please follow the below steps to execute the thingworxPostgresDBSetup.bat file.

1.) Start -> cmd -> Run as Administrator

2) Navigate to the folder in which the thingworxPostgresDBSetup.bat file is present

3) Run the thingworxPostgresDBSetup.bat.file.

Re: ./thingworx-database-setup.sql: No such file or directory

Try replacing the ./thingworx-database-setup.sql with the full path in the batch file. ex: c:/Thingworx/...

This should work.

Re: ./thingworx-database-setup.sql: No such file or directory

First try changing the script location from C:/ThingworxPostgresqlStorage to C:\ThingworxPostgresqlStorage then run this command to execute the script:

thingworxpostgresDBSetup –a postgres –u twadmin –l C:\ThingworxPostgresqlStorage