in reply to Problem Tieing a database created with DB_File

It might be a BTREE. It might be a hash. You might have used another dbm than BerkeleyDB.

I would make a copy of the file. Then on the copy try DB_File with different options, then SDBM_File, then start looking for more esoteric possibilities. The list of common ones is fairly short, with some experiment you should find it.

And then when you do..make sure that you have a text backup!

  • Comment on Re: Problem Tieing a database created with DB_File

Replies are listed 'Best First'.
Re: Re: Problem Tieing a database created with DB_File
by Tim_Odom (Initiate) on Jun 28, 2003 at 15:10 UTC
    Looking at that code there, I remember that it was a BTREE and I could almost swear it was using BerkeleyDB... I'm thinking that the BerkeleyDB verson changed and that's why I can't access the file... Unfortunately, I'm not sure how to go about checking any of the other options mentioned above...