Author Topic: PostgreSQL DBMS  (Read 2021 times)

Thomas Arnbjerg

  • EA User
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile
PostgreSQL DBMS
« on: October 26, 2022, 01:36:39 am »
I'm trying to configure a PostgreSQL repository.

1) 32 bit ODBC driver is installed (version 13.x)
2) ODBC datasource configured according to https://sparxsystems.com/enterprise_architect_user_guide/15.2/model_repositories/setupapostgresqlodbcdriver.html
Test connection succeeds.
3) The PostgreSQL database has been created on a remote Debian 11 and EASchema*.sql has been run. The tables are present in the database as seen in pgAdmin running on the same machine as EA. A user has been created for EA and permissions on all EA tables look correct in pgAdmin.

When I try to transfer an eapx file to the new repository i get the error 'All Enterprise architect tables in the target repository are missing...'

Any suggestions on how to troubleshoot this?
Thx
Thomas

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: PostgreSQL DBMS
« Reply #1 on: October 26, 2022, 08:25:09 am »
Maybe some authorization issue (just guessing). Try accessing the DB as admin.

q.

Thomas Arnbjerg

  • EA User
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile
Re: PostgreSQL DBMS
« Reply #2 on: October 26, 2022, 05:15:35 pm »
Found the root cause 40 cm in front of the screen. I used the wrong version of the schema file.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: PostgreSQL DBMS
« Reply #3 on: October 26, 2022, 05:45:38 pm »
Found the root cause 40 cm in front of the screen. I used the wrong version of the schema file.
Ah, the famous PEBCAC problem  ;D

Geert