Got {aborted,{no_exists,pdpcontext}} with Mnesia

Papa Tana papa.tana101@REDACTED
Thu Jul 16 10:24:13 CEST 2020

Hi All,

I want to use Mnesia for my application, but it returns "no_exists"

According to the documentation:

==> no_exists: Tried to perform operation on non-existing (non-alive) item.

$ dialyzer first.erl
  Checking whether the PLT c:/Users/Lova/.dialyzer_plt is up-to-date... yes
  Proceeding with analysis... done in 0m0.23s
done (passed successfully)

$ erl -sname myggsn@REDACTED
Eshell V11.0  (abort with ^G)

(myggsn@REDACTED)1> c(first).

(myggsn@REDACTED)2> node().

(myggsn@REDACTED)3> mnesia:start().

(myggsn@REDACTED)4> first:database_initialize().
=INFO REPORT==== 16-Jul-2020::11:12:13.951000 ===
    application: mnesia
    exited: stopped
    type: temporary


(myggsn@REDACTED)5> first:start().

Where am I wrong please?

I send enclosed my first.erl

Best Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: first.erl
Type: application/octet-stream
Size: 619 bytes
Desc: not available
URL: <>

More information about the erlang-questions mailing list