My node's not running!
Wed Dec 16 09:51:48 CET 1998
On Tue, 15 Dec 1998, Martin Bjorklund wrote:
Martin> Try this instead:
Martin> clip ~> erl -sname a -mnesia dir '"/tmp/mdb"'
Martin> Erlang (JAM) emulator version 47.4.0
Martin> Eshell V47.4.0 (abort with ^G)
Martin> ()1> mnesia:create_schema([node()]).
Martin> ()2> mnesia:start().
Martin> ()3> mnesia:create_table(funky,).
Please, note the order of the calls to mnesia:start/0 and
mnesia:create_schema/1 in Martin's reply.
In Ben's original posting the calls was in reverse order. As an
effect of this, Mnesia was started in a disk less mode. Later when the
mnesia:create_schema/1 was invoked, in order to initiate the database
on disk, it failed since Mnesia already was started.
Håkan Mattsson |E-mail:
ÄT2/ETX/DN/SP |Memo: ETX.ETXHAMS
Ericsson Telecom AB |Telephone: +46 8 719 92 51
S-126 25 Stockholm |Fax: +46 8 719 89 88
Sweden |WWW: http://otp.ericsson.se/~hakan
Starting Mnesia in disk less mode is rather convenient, when
you want to try some API functions out in the Erlang shell,
without polluting your disk with temporary toy databases.
More information about the erlang-questions