<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PluggedOut on Michael’s Domain</title><link>https://jeltsch.org/en/tags/pluggedout/</link><description>Recent content in PluggedOut on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/pluggedout/index.xml" rel="self" type="application/rss+xml"/><item><title>Migrating my old mysql blog database to a new blog software (PluggedOut)</title><link>https://jeltsch.org/en/migrating_my_old_mysql_blog_database_to_a_new_blog_software_pluggedout/</link><pubDate>Tue, 06 Mar 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/migrating_my_old_mysql_blog_database_to_a_new_blog_software_pluggedout/</guid><description>&lt;p&gt;We updated my server from SuSE 9.3 to 10.1. php5 is the default on 10.1 and my blog software broke. As my blog software is not anymore maintained, I had to switch to another and I selected 
 &lt;a href="http://www.pluggedout.com" target="_blank" rel="noopener noreferrer nofollow"&gt;PluggedOut&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. The mysql database structures were quite different and this is what I did to do the conversion:First I dumped the old database into textfiles:&lt;code&gt;mysqldump -u root -p --tab=/home/jeltsch/temp --fields-terminated-by=| --lines-terminated-by=# journal&lt;/code&gt;Then I opened the textfiles in a spreadsheet application and added the necessary columns and fixed the formats. Then I exported into a csv file and imported back into the new database:&lt;code&gt;mysql -u root -p pluggedoutmysql&amp;gt; DELETE FROM blog2_entries;mysql&amp;gt; OPTIMIZE TABLE blog2_entries;mysql&amp;gt; WARNINGS;mysql&amp;gt; LOAD DATA INFILE '/home/jeltsch/export.csv' INTO TABLE blog2_entries FIELDS TERMINATED BY ',';&lt;/code&gt;The WARNINGS command shows you when there are problems. Mostly they were related to the field delimiter (comma). I had to escape all commas, that were not field delimiters (,). I also needed to fix the date format (swap month and day). Since the categories were maintained in a separate table, I recreated a csv file by hand and set all entries to belong to the category &amp;ldquo;computer&amp;rdquo;. This .csv file was pretty simple:&lt;code&gt;1,1,22,2,23,3,24,4,2&lt;/code&gt; etc.&lt;code&gt;mysql&amp;gt; DELETE FROM blog2_entry_categories;mysql&amp;gt; OPTIMIZE TABLE blog2_entry_categories;mysql&amp;gt; LOAD DATA INFILE '/home/jeltsch/cat.csv' INTO TABLE blog2_entry_categories FIELDS TERMINATED BY ',';&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>