LiteDB.Studio icon indicating copy to clipboard operation
LiteDB.Studio copied to clipboard

Can not run the exe and connect to livedb v5 database file

Open sayeduzzamancuet opened this issue 5 years ago • 4 comments

I have downloaded the exe included in the project but it does not load the database.

sayeduzzamancuet avatar Mar 01 '20 11:03 sayeduzzamancuet

I am also having trouble figuring out how to connect. What file am I supposed to select to connect to the database?

LightSeekerSC avatar Apr 15 '20 17:04 LightSeekerSC

@LightSeekerSC LiteDB is an embedded database. You should select the datafile you want to open. If you don't have one and want to create it, just enter a file name and will be created.

lbnascimento avatar Apr 15 '20 18:04 lbnascimento

@LightSeekerSC LiteDB is an embedded database. You should select the datafile you want to open. If you don't have one and want to create it, just enter a file name and will be created.

When I go to my litedb file structure this is what I see

  • litedb (folder)
    • 0x7ea138fe (folder)
      • index (folder)
        • blacklist
        • map
      • info (folder)
        • config
        • size
        • table_type
        • unused_indexes
      • shard0

Which of these files am I supposed to select when loading the database in litedb.studio? I tried selecting the shard0 and map, but neither of those seemed to work.

LightSeekerSC avatar Apr 15 '20 19:04 LightSeekerSC

@LightSeekerSC What do you mean by "litedb file structure"? LiteDB creates only a single file, which is your datafile.

lbnascimento avatar Apr 15 '20 19:04 lbnascimento