Closed guods closed 2 years ago
You can use the no-directory option and then you can call it whatever you want.
@jnwatson I can not understand it, I do not know how to call it without no-directory? I open my database with "lmdb.Environment(path=mypath)", but the name of databse is "person.mdb", I should call it by......?
import lmdb
env = lmdb.Environment('mydatabase.whatever', subdir=False)
Edit this issue template as appropriate. If none of it seems relevant to your issue, then you may delete the entire template, however, I may not respond to issues that do not include important information that is mentioned in this template!
Affected Operating Systems
Affected py-lmdb Version
py-lmdb Installation Method
Using bundled or distribution-provided LMDB library?
Bundled
Distribution name and LMDB library version
Use "print lmdb.version()" from a Python prompt.
Machine "free -m" output
e.g.
Other important machine info
Running under cgroups? Containers? Weird filesystems in use? Network filesystem? Patched kernel? ...
Describe Your Problem
XXXXX
Errors/exceptions Encountered
e.g.
Describe What You Expected To Happen
e.g.
I expected the transaction to commit successfully.
Describe What Happened Instead
e.g.
The Python process crashed.