If it is written in procedural PHP I can help :)
On Dec 29, 2008, at 6:55 AM, Jay Pipes <[email protected]> wrote:
All,
There have been a number of changes to allowed data types, SQL
syntax, character set handling, and, soon, the handling of timezones
and temporal values.
As the core code base starts firming up, one of the things that
needs to be designed is a migration program which will be able to
take a dump of a MySQL database and convert the schema and data
within to Drizzle's SQL semantics.
I think it would be good to get a discussion going and see who is
interested in doing this work. Contributors would be working
closely with the team who will handle the documentation of the
aforementioned changes in SQL syntax and column types.
So, this email serves to light a spark. Here are some questions to
ponder and discuss:
a) Should the program be written in a scripting language such as
Perl or Python?
b) Should the program be a one-way converter or allow bi-directional
conversion?
c) Should the program include some ability to recommend best
practice changes in the event that no conversion from MySQL column
types to Drizzle types is possible? For instance, the SET column
type is no longer supported. What column type(s) should be
suggested as replacements for this?
d) Should the program create the actual schemas, or simply produce
an intermediate SQL script which can be run through the drizzle
client in order to create the databases?
e) What kind of initial observations should the program attempt to
make about the incoming SQL dump? If it sees a heavy reliance on,
for instance, the MySQL privilege system, should warnings or errors
be raised?
Hope this gets the brain juices flowing. Feel free to start a wiki
page on the Drizzle.org wiki and log any ideas you may have.
Cheers,
Jay
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp