Open mrb_state when open/create db