<?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>Shoopman &#187; ODBC</title>
	<atom:link href="http://blog.shoopman.org/tag/odbc/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.shoopman.org</link>
	<description>Shoopman&#039;s Blog</description>
	<lastBuildDate>Thu, 15 Jul 2010 08:32:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>通过ODBC连接MySql</title>
		<link>http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html</link>
		<comments>http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html#comments</comments>
		<pubDate>Thu, 27 Aug 2009 10:58:26 +0000</pubDate>
		<dc:creator>Shoopman</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[ODBC]]></category>

		<guid isPermaLink="false">/2009/08/27/connect-mysql-through-odbc.html</guid>
		<description><![CDATA[由于需要共享EA项目，而暂时发现EA仅支持ODBC连接数据库，所以要解决通过ODBC连接MySql的问题了。
Windows默认是没有MySql的ODBC驱动的，首先要下载ODBC驱动。Google到MySql官网上有，但是需要注册，继续Google到一个下载镜像：http://mirror.cogentco.com/pub/mysql/Connector-ODBC/5.1/，选择了Windows x64的MSI版本下载，因为我的系统是Windows7 x64。下载下来才发现，x64的版本里还包含了x32的。
安装驱动后，在ODBC数据源管理里的“用户DNS”或“系统DNS”点击“Add”按钮，就可以看到了：  
选中“MySql DOBC 5.1 Driver”，点击“Finish”，就可以添加一个MySql数据源了：  
填完各输入框点“OK”，在列表里就可以看到刚才添加的数据源了：  
 
]]></description>
			<content:encoded><![CDATA[<p>由于需要共享EA项目，而暂时发现EA仅支持ODBC连接数据库，所以要解决通过ODBC连接MySql的问题了。</p>
<p>Windows默认是没有MySql的ODBC驱动的，首先要下载ODBC驱动。Google到<a href="http://dev.mysql.com/downloads/connector/odbc/5.1.html" target="_blank">MySql官网</a>上有，但是需要注册，继续Google到一个下载镜像：<a title="http://mirror.cogentco.com/pub/mysql/Connector-ODBC/5.1/" href="http://mirror.cogentco.com/pub/mysql/Connector-ODBC/5.1/" target="_blank">http://mirror.cogentco.com/pub/mysql/Connector-ODBC/5.1/</a>，选择了Windows x64的MSI版本下载，因为我的系统是Windows7 x64。下载下来才发现，x64的版本里还包含了x32的。</p>
<p>安装驱动后，在ODBC数据源管理里的“用户DNS”或“系统DNS”点击“Add”按钮，就可以看到了：<br />  <br /><img src="http://rp8w6a.blu.livefilestore.com/y1p_8U4RieqFKHaZxNr2Vgo8utUpEUisTch9n1l6Y1tLLWfK0f_MX4v9Cdbl_IHZo6ZWyvjHg4z7qLYoKcndm2iM1L2N_MjuSf2/dns.jpg" alt="" /></p>
<p>选中“MySql DOBC 5.1 Driver”，点击“Finish”，就可以添加一个MySql数据源了：<br />  <br /><img src="http://rp8w6a.blu.livefilestore.com/y1pPyyIEJueJzIuwkPIWkiOEAZxhcOZxegT1SvfaQlXGOT0i4lshz1A_YNMvGVVH5fmS1gNVq6X5hmok3TbGtLCnw/connection.jpg" alt="" /></p>
<p>填完各输入框点“OK”，在列表里就可以看到刚才添加的数据源了：<br />  <br /><img src="http://rp8w6a.blu.livefilestore.com/y1p9Klu7e0tRFhBgHYHsdR1f63Cxs4k_xEbyhI5TzQOvPgYibxwmcRHQfx_MiYwi_rJOKgh13rFZHT6m3uc9ymEng/list.jpg" alt="" /></p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
