PostgreSQL Database Configuration Issue

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
5 posts • Page 1 of 1
deepaktony
Posts:24
Joined: Wed Jan 18, 2012 3:39 pm

PostgreSQL Database Configuration Issue

Post by deepaktony »

Hi,

I tried to configure PostgreSQL database, but as per documentation, "create_database_windows.bat" Batch file is not available in winccoa_path/data/NGA/PostgreSQL/sql/ directory.

(Documentation Link - https://www.winccoa.com/documentation/W ... stall.html)

So, I am not able to generate and configure the PostgreSQL database in my WinCC OA 3.18 P009.
Please suggest to proceed ahead.

Thank You!

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: PostgreSQL Database Configuration Issue

Post by kilianvp »

Do you have a file "create_database_windows.ps1" ? Thats the correct file.

deepaktony
Posts:24
Joined: Wed Jan 18, 2012 3:39 pm

Re: PostgreSQL Database Configuration Issue

Post by deepaktony »

Hi Kilianvp,

"create_database_windows.ps1" is there in the same folder. But, as per documentation step, I was looking for the "create_database_windows.bat" file.

Anyway, I have tried with "create_database_windows.ps1" file as well, but it is giving error.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: PostgreSQL Database Configuration Issue

Post by leoknipp »

It is already known that the documentation does not fit the files in the WinCC OA version. This issue will be corrected in future releases.
Have you tried to execute the script in a Windows PowerShell?

Best Regards
Leopold Knipp
Senior Support Specialist

deepaktony
Posts:24
Joined: Wed Jan 18, 2012 3:39 pm

Re: PostgreSQL Database Configuration Issue

Post by deepaktony »

"create_database_windows.ps1" file was giving some error. After addition of PostgreSQL bin Path in "environment variable" of PC, it executed fine. (C:\Program Files\PostgreSQL\13\bin).

Thanks

5 posts • Page 1 of 1