{"id":33,"date":"2006-04-09T16:30:27","date_gmt":"2006-04-09T20:30:27","guid":{"rendered":"http:\/\/www.thewormbook.com\/hlog\/?p=33"},"modified":"2006-04-09T16:30:27","modified_gmt":"2006-04-09T20:30:27","slug":"dear-nerdworld","status":"publish","type":"post","link":"http:\/\/www.thewormbook.com\/hlog\/?p=33","title":{"rendered":"Dear nerdworld"},"content":{"rendered":"<p>Is there any way to convert a sizable MySQL database containing this blog to sqlite? Here are some of the ways that don&#8217;t work:<\/p>\n\n\n<ol>\n<li>Using the <a href=\"http:\/\/as-is.net\/blog\/archives\/001023.html\">mt-db-convert.cgi script:<\/a> this ought to work, but is killed by the reaper at Pair. After exchanging around ten emails with the genuinely helpful and friendly support there, and then spending half an hour on the phone to Pittsburgh, we established that even when the scipt runs to a conclusion, it crashes with incomprehensible error messages.<\/li>\n<li>Using MySQLdump to get a listing of the database and then reading that into the <a href=\"http:\/\/sqlitebrowser.sourceforge.net\/\"><span class=\"caps\">SQL<\/span>ite database browser,<\/a> which is supposed to understand this things. It claims there is &#8220;an error at line 2013051320&#8221;. There is, of course, no such line.<\/li>\n<li>Using the <a href=\"http:\/\/sqlfairy.sourceforge.net\/\"><span class=\"caps\">SQL<\/span>-Fairy<\/a> set of Perl modules. They come highly recommended, take no more than half a day to install on a fast machine. Feed them a 6MB <span class=\"caps\">SQL <\/span>file and they die at line 18, the first one that starts &#8220;CREATE <span class=\"caps\">TABLE<\/span>&#8220;, protesting that it does not start with &#8220;create&#8221;.<\/li>\n<li>I have not yet tried finding the authors of all or any of these programs; cutting their throats over my keyboard and then typing fast while my fingers splash in hot blood, but as soon as I get the chance, I will. I&#8217;m pretty certain that no lesser sacrifice will work.<\/li>\n<\/ol>\n\n\n\n<p>In the meantime, if you find your comment won&#8217;t post, I apologise. I have done my best.<\/p>","protected":false},"excerpt":{"rendered":"<p>Is there any way to convert a sizable MySQL database containing this blog to sqlite? Here are some of the ways that don&#8217;t work: Using the mt-db-convert.cgi script: this ought to work, but is killed by the reaper at Pair. &hellip; <a href=\"http:\/\/www.thewormbook.com\/hlog\/?p=33\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a> <a href=\"http:\/\/www.thewormbook.com\/hlog\/?p=33\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts\/33"}],"collection":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":0,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}