简体   繁体   中英

Default user: WSO2 Identity Server with Mariadb

I followed the steps defined in this link and restarted the WSO2 identity server.

When trying to login at https://localhost:9443/carbon using admin/admin credentials, it's giving me login failed message. Before changing the settings for WSO2, it was working with this credentials.

Obviously, that user is not present in MariaDB. Does anyone has any scripts to insert an admin user in WSO2 Maria DB for? 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. So with mysql installed I did the following, after MANY tries, 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. So loading keep failing the DB because of some default time functions in the sql. My $0.02

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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