简体   繁体   English

WSO2 将默认数据库更改为 MySql

[英]WSO2 Change default database to MySql

I have followed https://docs.wso2.com/display/AM260/Installing+and+Configuring+the+Databases this document for changing default database to mysql in api manager.我已经按照https://docs.wso2.com/display/AM260/Installing+and+Configuring+the+Databases这个文档在 api 管理器中将默认数据库更改为 mysql。 Once i am done with all changes and i start server using "wso2server.sh" file it will discard all changes in file and default configuration of h2 database will replace new configuration for MySql.完成所有更改并使用“wso2server.sh”文件启动服务器后,它将丢弃文件中的所有更改,并且 h2 数据库的默认配置将替换 MySql 的新配置。

Based on the problem description it looks like you are using API Manager 3.0.0.根据问题描述,您似乎使用的是 API Manager 3.0.0。 From v3.0.0 onwards, you have a deployment.toml file which resides in repository/conf location.从 v3.0.0 开始,您有一个位于 repository/conf 位置的 deployment.toml 文件。 The users are expected to change only this file by going forward.预计用户将仅更改此文件。 Please refer https://apim.docs.wso2.com/en/3.0.0/install-and-setup/setting-up-databases/changing-default-databases/changing-to-mysql/请参考https://apim.docs.wso2.com/en/3.0.0/install-and-setup/setting-up-databases/changed-default-databases/changed-to-mysql/

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

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