【问题标题】:Wso2 admin/admin failing after changing to mysql datasourceWso2 admin/admin 更改为 mysql 数据源后失败
【发布时间】:2020-09-05 20:11:10
【问题描述】:

登录 Carbon 管理控制台时遇到问题 版本; WSO2 为 5.10。 0 作为密钥管理器

变化:

我在 deployment.toml 文件中对 WSO2AM_DB、WSO2Shared_DB、WSO2User_db 进行了 Mysql 数据库更改。 当我尝试使用默认管理员/管理员凭据登录管理控制台时,我在 UI 中收到错误:

登录失败!请重新检查用户名和密码,然后重试。

错误 {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} - 验证/授权用户时出现系统错误:com.mysql.cj.jdbc.exceptions.CommunicationsException:通信链接失败

deployment.toml 中的用户存储更改也会导致错误

变化:

[user_store]
type = "database"

[user_store.properties]
TenantManager="org.wso2.carbon.user.core.tenant.JDBCTenantManager"
ReadOnly=false
ReadGroups=true
WriteGroups=true
scim_enabled = true

[realm_manager]
data_source = "WSO2USER_DB"

【问题讨论】:

    标签: wso2 wso2-am wso2is wso2carbon


    【解决方案1】:

    com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure 通常表示配置的数据库不可访问。

    你是不是按照WSO2 jdbc user configuration guidelinesdeployment.toml中定义了database.user配置?如果已配置,请检查配置的连接 url 和从 WSO2-IS 到用户存储数据库的网络连接。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-07-01
      • 1970-01-01
      • 2021-07-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多