Erlang: Create schema before starting mnesia

April 17, 2009 – 4:57 pm

If you’re running into trouble with Mnesia not writing your data to disk, make sure you create the schema BEFORE you start mnesia. Otherwise you’ll get errors like

opt_disc. Directory “c:/Documents and Settings/jhaddad/workspace/Mnesia.localhost@whatever” is NOT used.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit

Post a Comment