Change the kong database to mysql or mongodb

I want to change the kong database to mysql or mongodb,But I don’t know much about kong,what should I do,thank you very much。

Hello @jianhongsun,

Kong currently supports Postgres and Cassandra.
Reference: https://docs.konghq.com/0.14.x/configuration/#datastore-section/

thank you very much , I am not familiar with Postgres. To be honest, there are very few people using Postgres in China. We are more accustomed to mysql or mongo. Can future versions of kong support mysql or mongo? Is there any plan for this?

Hello @jianhongsun,

With Kong 1.0, Kong’s new DAO is being used in the entire code-base and it should now be possible to add support for other databases. Please take a look at existing strategies, based on which you can implement a strategy for MySQL.

This is good news for me.3q @hbagdi

Hi,

I’d like to inform you that we’ve made public our version of Kong 1.1.1 with MariaDB support and additional changes like IPv6 support or Cassandra cluster topology.
Repo: https://github.com/nokia/kong/tree/nokia-1.1.1
Changelog: https://github.com/nokia/kong/blob/nokia-1.1.1/CHANGELOG.md#nokia-111

Thanks and regards,
Jarek

Any reason not to PR some of these features into the origin repo of Kong? I would think MariaDB support feat. would be an accepted kind of thing as long as subsequent docs were updated as well.

@jarekchr Interesting! I moved your topic to the Announcements channel, please don’t be shy and do advertise new Kong tools and releases there, it was meant for this! :slight_smile:

Continuing the discussion on the fork there.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ