Change the kong database to mysql or mongodb


#1

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。


#2

Hello @jianhongsun,

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


#3

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?


#4

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.


#5

This is good news for me.3q @hbagdi