I am trying to read the remote Mnesia node using an Erlang command. I am using Ubuntu 14.04 and I am running Erlang 17 OTP. I tried to start my local Mnesia node by issuing
mnesia:start().
And then I tried to connect to remote node with
mnesia.start([{extra_db_nodes, [:'abc@def.com']}]).
It returns true. Then I issue the mnesia:info()
, however, it only returns the local Mnesia info. My question is how can I issue the Mnesia command to a remote node from my local node? I am wondering how I can get the Mnesia data of extra_db_nodes
in my local node?