<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>info.michael-simons.eu &#187; Mint</title>
	<atom:link href="http://info.michael-simons.eu/tag/mint/feed/" rel="self" type="application/rss+xml" />
	<link>http://info.michael-simons.eu</link>
	<description>Just another nerd blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 10:26:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Frustration</title>
		<link>http://info.michael-simons.eu/2009/02/25/frustration/</link>
		<comments>http://info.michael-simons.eu/2009/02/25/frustration/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 14:06:18 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[Mint]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://info.michael-simons.eu/?p=296</guid>
		<description><![CDATA[if you want something done right, do it yourself If you happen to use the mint tracking tool like me, be careful when migrating from a 32bit to a 64bit server or vice versa. Mint saves ip addresses and a buttload of checksums as signed long values. That bites you right in the ass when [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>if you want something done right, do it yourself</p>
</blockquote>
<p>If you happen to use the <a href="http://haveamint.com/">mint</a> tracking tool like me, be careful when migrating from a 32bit to a 64bit server or vice versa. Mint saves ip addresses and a buttload of checksums as signed long values. That bites you right in the ass when the first visitors starts arriving at your site. All from 127.255.255.255, or at last visitors with an ip starting with > 127. </p>
<p>If you read this post before migrating, just add the following to your migration:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">TABLE</span> mint_visit 
  <span style="color: #993333; font-weight: bold;">MODIFY</span> <span style="color: #993333; font-weight: bold;">COLUMN</span> <span style="color: #ff0000;">`ip_long`</span> <span style="color: #993333; font-weight: bold;">BIGINT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span>
  <span style="color: #993333; font-weight: bold;">MODIFY</span> <span style="color: #993333; font-weight: bold;">COLUMN</span> <span style="color: #ff0000;">`referer_checksum`</span> <span style="color: #993333; font-weight: bold;">BIGINT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span>
  <span style="color: #993333; font-weight: bold;">MODIFY</span> <span style="color: #993333; font-weight: bold;">COLUMN</span> <span style="color: #ff0000;">`domain_checksum`</span> <span style="color: #993333; font-weight: bold;">BIGINT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span>
  <span style="color: #993333; font-weight: bold;">MODIFY</span> <span style="color: #993333; font-weight: bold;">COLUMN</span> <span style="color: #ff0000;">`resource_checksum`</span> <span style="color: #993333; font-weight: bold;">BIGINT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span>
  <span style="color: #993333; font-weight: bold;">MODIFY</span> <span style="color: #993333; font-weight: bold;">COLUMN</span> <span style="color: #ff0000;">`session_checksum`</span> <span style="color: #993333; font-weight: bold;">BIGINT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>;
&nbsp;
<span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">TABLE</span> mint_debugger   
  <span style="color: #993333; font-weight: bold;">MODIFY</span> <span style="color: #993333; font-weight: bold;">COLUMN</span> <span style="color: #ff0000;">`ip_long`</span> <span style="color: #993333; font-weight: bold;">BIGINT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>;
&nbsp;
<span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">TABLE</span> mint_geo  
  <span style="color: #993333; font-weight: bold;">MODIFY</span> <span style="color: #993333; font-weight: bold;">COLUMN</span> <span style="color: #ff0000;">`ip`</span> <span style="color: #993333; font-weight: bold;">BIGINT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>;
&nbsp;
<span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">TABLE</span> mint_hostnames  
  <span style="color: #993333; font-weight: bold;">MODIFY</span> <span style="color: #993333; font-weight: bold;">COLUMN</span> <span style="color: #ff0000;">`ip_long`</span> <span style="color: #993333; font-weight: bold;">BIGINT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>;</pre></div></div>

<p>and you&#8217;re done. </p>
<p>If it&#8217;s too late, change your tables as well. You then also have to delete your entire mint_visit data, as the records are already corrupted. Great fail.</p>
<p>However, why on earth store an ip address as a long value?!? It&#8217;s an ip address and if i want to look at it, the program needs to go the other way round. To me: It&#8217;s just stupid fucking with datatypes and problems as that is what you get if you do so. It maybe makes sense for computation of networks, but not for a statistic tool. At least, i don&#8217;t see any sense in this.</p>
<p>Actually, the problem is <a href="http://www.haveamint.com/forum/troubleshooting/878/heavy_presence_of_127_255_255_255">known</a>.</p>
<p class="akst_link"><a href="http://info.michael-simons.eu/?p=296&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_296" class="akst_share_link " rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://info.michael-simons.eu/2009/02/25/frustration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mint 2.x advanced preferences</title>
		<link>http://info.michael-simons.eu/2007/04/09/mint-2x-advanced-preferences/</link>
		<comments>http://info.michael-simons.eu/2007/04/09/mint-2x-advanced-preferences/#comments</comments>
		<pubDate>Mon, 09 Apr 2007 17:35:56 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Shortcuts]]></category>
		<category><![CDATA[Mint]]></category>
		<category><![CDATA[Tipps]]></category>

		<guid isPermaLink="false">http://info.michael-simons.eu/2007/04/09/mint-2x-advanced-preferences/</guid>
		<description><![CDATA[I use Mint for two domains. One 1.x version and a newer 2.x version. I wasn&#8217;t pleased, that the option to keep the databasesize under a certain limit was removed from preferences in version 2.x. Also, the possibility of limiting individual visitor statistics was gone&#8230; Today i stumbled upon admartinator. Obviously a mac user, he [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://www.haveamint.com/">Mint</a> for two domains. One 1.x version and a newer 2.x version. I wasn&#8217;t pleased, that the option to keep the databasesize under a certain limit was removed from preferences in version 2.x. Also, the possibility of limiting individual visitor statistics was gone&#8230; </p>
<p>Today i stumbled upon <a href="http://www.admartinator.de/2007/02/28/mint-datenbank-auf-diaet/">admartinator</a>. Obviously a mac user, he is also minted&#8230;</p>
<p>If you click on your mint preferences, append a <em>&#038;advanced</em> to the url and the two options are back in the game.</p>
<p class="akst_link"><a href="http://info.michael-simons.eu/?p=67&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_67" class="akst_share_link " rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://info.michael-simons.eu/2007/04/09/mint-2x-advanced-preferences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.402 seconds -->

