简体   繁体   English

默认用户:带有Mariadb的WSO2 Identity Server

[英]Default user: WSO2 Identity Server with Mariadb

I followed the steps defined in this link and restarted the WSO2 identity server. 我按照链接中定义的步骤进行操作,然后重新启动了WSO2身份服务器。

When trying to login at https://localhost:9443/carbon using admin/admin credentials, it's giving me login failed message. 当尝试使用admin / admin凭据在https:// localhost:9443 / carbon上登录时,它给了我登录失败的消息。 Before changing the settings for WSO2, it was working with this credentials. 在更改WSO2的设置之前,它正在使用此凭据。

Obviously, that user is not present in MariaDB. 显然,该用户不在MariaDB中。 Does anyone has any scripts to insert an admin user in WSO2 Maria DB for? 是否有人在WSO2 Maria DB中插入任何管理员用户脚本? I don't know what all tables I need to update in case of adding user manually. 我不知道在手动添加用户的情况下需要更新哪些表。 Or is there any other default user? 还是还有其他默认用户?

Kindly suggest. 请提示。

Had the same problem, even switched to mysql community and it didn't fix it. 有同样的问题,甚至切换到mysql社区,但并没有解决。 So with mysql installed I did the following, after MANY tries, mysql -u root -p create DATABASE regdb; 因此,安装了mysql之后,我做了以下尝试,经过create DATABASE regdb;尝试后, mysql -u root -p create DATABASE regdb; exit; mysql -u root -p regdb < <WSO2_HOME>/dbscripts/mysql5.7.sql mysql -u root -p regdb < <WSO2_HOME>/dbscripts/identity/mysql-5.7.sql nohup <WSO2_HOME>/bin/wso2server.h -Dsetup & If there is someplace to see the DB version, I haven't found it, but this got it all to working form me. mysql -u root -p regdb < <WSO2_HOME>/dbscripts/mysql5.7.sql mysql -u root -p regdb < <WSO2_HOME>/dbscripts/identity/mysql-5.7.sql nohup <WSO2_HOME>/bin/wso2server.h -Dsetup &如果有某个地方可以看到数据库版本,我还没有找到它,但这一切都可以从我这里开始进行。 So loading keep failing the DB because of some default time functions in the sql. 因此,由于sql中的某些默认时间功能,加载会使DB继续失败。 My $0.02 我的$ 0.02

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM