如何使用AN是7.0.0的5.7.0 USERSTORE?

问题描述 投票:0回答:1
实际上,我的WSO2是5.7.0托管,现在我迁移到WSO2为7.0.0。在控制台中,我添加为数据库用户存储,从5.7.0开始,连接很好,问题是新服务器尝试执行任何查询时,由于查询根本不匹配查询。例如,我面临的最常见麻烦是:

Caused by: org.wso2.carbon.user.core.UserStoreException: Database error occurred while listing users for a property : uid & value : cfernadnez02546 & profile name : default at org.wso2.carbon.user.core.jdbc.UniqueIDJDBCUserStoreManager.doGetUserListFromPropertiesWithID(UniqueIDJDBCUserStoreManager.java:2558) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.doGetUserListWithID(AbstractUserStoreManager.java:3349) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserListWithID(AbstractUserStoreManager.java:3277) ... 70 more Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'UM_USER.UM_USER_ID' in 'field list'
我需要一些有关如何面对这个问题的建议,我已经想到了修改USERSTORE类,并将其扩展到新的类别,但是从默认管理器,uniquejdbcuserstoremanager中读取源代码,它只是使用在配置中已定义的SQL查询XML,从而导致了同一例外。
现在,我试图用脚本将旧数据库迁移到最新的模式,但我不知道是否是这样。
    

If your goal is to migrate from WSO2 IS 5.7.0 to 7.0.0, and you're using the same user store, you will need to migrate the existing database schema from the old version (5.7.0) to the new schema used by 7.0.0.

mysql wso2 wso2-identity-server
1个回答
0
投票
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.