<?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>Notes &#187; database</title>
	<atom:link href="http://alexpb.com/notes/articles/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexpb.com/notes</link>
	<description></description>
	<lastBuildDate>Sun, 20 May 2012 00:39:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Apache error: Access Informix Database throught ODBC using Perl (Windows)</title>
		<link>http://alexpb.com/notes/articles/2009/07/20/apache-error-access-informix-database-throught-odbc-using-perl-windows/</link>
		<comments>http://alexpb.com/notes/articles/2009/07/20/apache-error-access-informix-database-throught-odbc-using-perl-windows/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 00:40:21 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[informix]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=646</guid>
		<description><![CDATA[I was getting this error: [Mon Jul 20 12:32:05 2009] [error] [client 192.168.241.233] Premature end of script headers: elite_inventory.pl [Mon Jul 20 12:32:05 2009] [error] [client 192.168.241.233] DBI connect('my_database','my_user',...) failed: [INTERSOLV][ODBC Informix driver][Informix]Unable to load locale categories. (SQL-HY000) at C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/script.pl line 37 The fix involved modifying Apache&#8217;s environment variables using SetEnv in [...]]]></description>
			<content:encoded><![CDATA[<p>I was getting this error:</p>
<p><code>[Mon Jul 20 12:32:05 2009] [error] [client 192.168.241.233] Premature end of script headers: elite_inventory.pl<br />
[Mon Jul 20 12:32:05 2009] [error] [client 192.168.241.233] DBI connect('my_database','my_user',...) failed: [INTERSOLV][ODBC Informix driver][Informix]Unable to load locale categories. (SQL-HY000) at C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/script.pl line 37</code></p>
<p>The fix involved modifying Apache&#8217;s environment variables using SetEnv in httpd.conf:</p>
<p><code><br />
SetEnv INFORMIXDIR "C:/informix32"<br />
SetEnv INFORMIXSERVER "isaac_net"<br />
SetEnv DELIMIDENT n<br />
SetEnv DBANSIWARN n<br />
SetEnv CLIENT_LOCAL "en_US.CP1252"<br />
SetEnv DB_LOCAL "en_US.CP1252"<br />
</code></p>
<p>This is because even if the variables are set in the registries in Windows (they are environment variables in Linux), the web server doesn&#8217;t use them.</p>
<p><a href="http://www.iiug.org/forums/linux-informix/index.cgi/noframes/read/1491">Reference #1</a> and <a href="http://cpansearch.perl.org/src/JOHNL/DBD-Informix-2007.0226/Notes/web.servers">Reference #2</a>.</p>
<p>You might need to use a different locale under Linux or Unix.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/07/20/apache-error-access-informix-database-throught-odbc-using-perl-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Download: US zip codes list and more</title>
		<link>http://alexpb.com/notes/articles/2007/11/07/free-us-zip-codes-list-download-and-canadausa-cities-lists/</link>
		<comments>http://alexpb.com/notes/articles/2007/11/07/free-us-zip-codes-list-download-and-canadausa-cities-lists/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 22:05:59 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[free]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/articles/2007/11/07/free-us-zip-codes-list-download-and-canadausa-cities-lists/</guid>
		<description><![CDATA[US Zip Code CSV List It include the zip code, city, state, latitude, longitude, and county (Last Updated: Sept 20, 2007). Download US ZIP codes CSV list City CSV lists (USA and Canada) They include city name, state/province, latitude, and longitude (Last Updated: July 31, 2007). Download Canada cities CSV List Download USA cities CSV [...]]]></description>
			<content:encoded><![CDATA[<h3>US Zip Code CSV List</h3>
<p>It include the zip code, city, state, latitude, longitude, and county (Last Updated: Sept 20, 2007).</p>
<ul>
<li><a href='http://alexpb.com/notes/wp-content/uploads/2007/11/zip5.zip' title='US ZIP codes list'>Download US ZIP codes CSV list</a></li>
</ul>
<h3>City CSV lists (USA and Canada)</h3>
<p>They include city name, state/province, latitude, and longitude (Last Updated: July 31, 2007).</p>
<ul>
<li><a href='http://alexpb.com/notes/wp-content/uploads/2007/11/canada_cities.zip' title='Canada cities'>Download Canada cities CSV List</a></li>
<li><a href='http://alexpb.com/notes/wp-content/uploads/2007/11/us_cities.zip' title='USA cities'>Download USA cities CSV List</a></li>
</ul>
<p>Great to import in a database.</p>
<p>Credits: <a href="http://geocoder.ibegin.com/downloads.php">http://geocoder.ibegin.com/downloads.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2007/11/07/free-us-zip-codes-list-download-and-canadausa-cities-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

