Problem with node name

Chandrashekhar Mullaparthi <>
Wed Jun 22 20:51:33 CEST 2005


Chandrus-Mac:~/temp chandru$ erl -sname abcd
Erlang (BEAM) emulator version 5.2 [source]

Eshell V5.2  (abort with ^G)
()1>
()1>
()1> mnesia:create_schema([node()]).
ok
()2> mnesia:delete_schema([node()]).
ok
()3> mnesia:create_schema([]).
** exited: {{unbound,'Mac'},[{erl_eval,expr,3}]} **
()4> mnesia:create_schema(['']).
ok

Putting the nodename within '' takes care of all the funny characters 
in the nodename.

cheers
Chandru

On 22 Jun 2005, at 19:14, Joel Reymont wrote:

> Folks,
>
> Having a node name like this: c-6881e055 apparently causes problems 
> within Erlang.
> Trying to install a Mnesia schema on such a node complains about the 
> e055 portion.
>
>     Thanks, Joel
>




More information about the erlang-questions mailing list