在 Postgresql 中设置 Mysql 外部数据包装器 [英] Setup Mysql Foreign Data Wrapper in Postgresql
问题描述
有人可以帮助我了解如何设置 postgresql 的 mysql_fdw 吗?我正在查看 https://github.com/EnterpriseDB/mysql_fdw,我不确定是什么第一步是.
Could somebody help me understand how I would go about setting up postgresql's mysql_fdw? I'm looking at https://github.com/EnterpriseDB/mysql_fdw, and I not sure what the first step is.
推荐答案
您链接到 ODBC 外部数据包装器 odbc_fdw
.你可以将它用于 MySQL,但如果你只想要 MySQL,你应该使用 mysql_fdw
代替一>.这样您就不必与 ODBC 搞混了.
You linked to the ODBC foreign data wrapper odbc_fdw
. You can use it for MySQL, but if you just want MySQL you should use mysql_fdw
instead. That way you don't have to mess with ODBC.
方便的是,mysql_fdw
的 README 包含安装和配置的详细说明,所以你应该很好地设置它;我不会在这里重复这些说明.
Handily, the README for mysql_fdw
contains detailed instructions for installation and configuration, so you should be fine setting it up; I won't duplicate those instructions here.
这篇关于在 Postgresql 中设置 Mysql 外部数据包装器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!