From: Dan Nelson Date: November 29 2004 7:32am Subject: Re: about berkeley db List-Archive: http://lists.mysql.com/mysql/176501 Message-Id: <20041129073222.GC5518@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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