I work for a very small company. I was recently faced with the question of whether there is a good way to convert a proprietary database to a MySQL database without owning the proprietary database engine e.g. if one is given a large oracle database file (or choose your favorite proprietary database engine format), but doesn’t have a license for the oracle database engine, is there a good, perfectly reliable way to convert it to a MySQL database format that can be read with the MySQL database engine? My question is very vague as to which proprietary format is the source just because there would be multiple sources and it looks like they would be “various and sundry”. My suspicion is that there is no perfectly reliable way, especially for a wide variety of proprietary databases. If there are a few proprietary formats for which this is possible, I would still be interested in knowing, though “various and sundry” is probably the real issue. Minimizing cost, effort and correct conversion are key so I think this probably is in the not possible list.
-John
Most commercial DBs have a trial or limited download version, should at least be enough to export the data and schema.
However you do it, it’s probably safer to read the schema and create the structure in MySQL then export each table as say CSV and re-import it into MySQL rather than rely on a direct conversion tool.
ps. Of course if you have a lot of stored procedures or custom Oracle specific SQL then it’s going to hurt a lot more!