MT 3
I’ve just upgraded to Movable Type 3.0 Developers’ Edition. The upgrade went without a hitch. Now to see if I can convert from Berkeley DB to MySQL…
UPDATE
I had previously run the mt-db2sql.cgi
script, and got an error to do with ‘use of uninitialized variable in numeric comparison’, and ‘comment_blog_id cannot be null’ (a MySQL constraint). I hacked the script, using Data::Dumper
to see just what the heck was going on, and discovered that I had an orphaned comment without a blog_id or an entry id. Aha! Berkeley DB, in its file-based, constraint-less way, didn’t care. MySQL, though, did. I added two quick lines to set a value for blog_id
and entry_id
if they were false, and — Bam! — away we went.
After the débacle of the server upgrade, it’s a relief to have the blog data stored in a more robust format.