List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:November 29 2004 7:32am
Subject:Re: about berkeley db
View as plain text  
In the last episode (Nov 29), ?? ?? said:
> i create some .db files with berkeley db programm(the berkelek just create 
> db files,without frm files).the problem is i can't use mysql to open it 
> .and the mysql create a berkeley db with db files and the frm flie.how can 
> i use the mysql to open an berkeley db files??? the version of mysql
> i use is 3.23.56

You can't, for quite a few reasons.  Among them:

You probably created plain bdb files, where MySQL uses the
transaction-based database format.

MySQL can only read records using its key and data formats, and chances
are very near 100% that you didn't create them in MySQL's format :)

You'll need to write a small program/script to extract the data out of
your .db file and insert the records into mysql.

-- 
	Dan Nelson
	dnelson@stripped
Thread
Using epoch date instead of calendar dateEric Wagar29 Nov
  • Re: Using epoch date instead of calendar dateChris29 Nov
    • Re: Using epoch date instead of calendar dateEric Wagar29 Nov
      • Re: Using epoch date instead of calendar dateChris29 Nov
        • about berkeley db黄 俊源29 Nov
          • Re: about berkeley dbDan Nelson29 Nov
  • Re: Using epoch date instead of calendar dateDan Nelson29 Nov
    • Re: Using epoch date instead of calendar dateEric Wagar29 Nov