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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

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

ap-31
1-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
jdass
12-Amethyst
(To:ap-31)

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.

gnandyala
13-Aquamarine
(To:ap-31)

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

This should work.

posipova
20-Turquoise
(To:ap-31)

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

Top Tags