MySQL equivalent of PostgreSQL's dblink module?

前端 未结 3 1950
无人共我
无人共我 2021-01-20 01:43

PostgreSQL\'s dblink module allows for SQL statements to be written that execute other SQL statements against a remote PostgreSQL database.

Is there an equivalent to

3条回答
  •  北恋
    北恋 (楼主)
    2021-01-20 02:10

    Not exactly.

    There is, however the FEDERATED storage engine (available since 5.0.3), which can be used in certain situations to emulate this behaviour. It is, (put very simply) a VIEW for a remote table.

    There is an in-depth explanation, along with examples on its MySQL manual page(s).

提交回复
热议问题