usql icon indicating copy to clipboard operation
usql copied to clipboard

能否增加几个数据库的支持

Open super-vip opened this issue 2 years ago • 1 comments

能否增加对以下:达梦(dm),金仓(kingbase),神通(shentong),南大通用(gbase) 数据库的支持? 参考项目:https://gitee.com/chunanyong/zorm

super-vip avatar May 16 '22 12:05 super-vip

@super-vip I am always open to adding support for more databases. I am not able to find the Go drivers for those databases. Could you provide links to any available Go driver for them? Thanks.

kenshaw avatar May 16 '22 14:05 kenshaw

It appears that the Kingbase database is just based on PostgreSQL, so I would assume that the postgres driver works fine. The Shentong database appears to have ODBC drivers available, and no Go drivers available -- as such, you should be able to connect to it using the odbc driver. The Gbase database seems to be based on MySQL, and as such the mysql driver should work with it.

kenshaw avatar Aug 26 '22 06:08 kenshaw