MySQL equivalent of PostgreSQL's dblink module?

前端 未结 3 1943
无人共我
无人共我 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:32

    No. This is not possible with MySQL. The closest you can come is to use replication to replicate the tables you need from the "remote" database down to the slave you are querying on. See the documentation for more details.

提交回复
热议问题