I am getting this error in thingworxPostgresDBSetup.bat file, eventhough i am having thingworx-database-setup.sql file in that directory
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.
Try replacing the ./thingworx-database-setup.sql with the full path in the batch file. ex: c:/Thingworx/...
This should work.
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