문제

Does WSO2 Identity Server support PostgreSQL for identity databases?

Start-up currently fails with the following error:

2013-08-01 13:22:02,501] ERROR {org.wso2.carbon.identity.core.persistence.IdentityDBInitializer} - Error occurred while executing SQL script for creating identity database java.io.FileNotFoundException: /opt/wso2/wso2is-4.1.0/dbscripts/identity/postgresql.sql (No such file or directory)

There is no postgresql.sql script in folder /opt/wso2/wso2is-4.1.0/dbscripts/identity/.

Does this mean that there's no support for PostgreSQL, or that the script file may be found somewhere else?

UPDATE

I created the script myself by editing the MySQL equivalent, start-up completed successfully. But could there be any issues with PostgreSQL as database?

UPDATE 2

Interesting enough, API Manager 1.4.0 seems to have the script in its wso2am-1.4.0/dbscripts/apimgt folder. However the script does not contain all the tables in the Identity Server MySQL script.

도움이 되었습니까?

해결책

Yes, WSO2 IS supports PostgreSQL.

You can find the postgresql.sql script in folder [IS_HOME]/dbscripts/identity/ with the new release of IS 4.5.0.

다른 팁

There is this jira reported for this, which is still in open state.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top