﻿<?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>北山美国主机评论－Web Hosting Reviews by Beishan &#187; DSN</title>
	<atom:link href="http://www.beishan.info/tag/dsn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.beishan.info</link>
	<description>北山美国主机评论致力于给国内用户提供中肯的美国主机评论,推荐便宜稳定且速度快的国外空间,介绍国外主机的优惠码/COUPONS,美国空间购买指南和使用教程等,重点评价JustHost,BlueHost,HostMonster,Lunarpages,IXWebHosting等国外空间,帮助需要国外主机空间的用户选择最便宜优质的美国虚拟主机空间.</description>
	<lastBuildDate>Sun, 05 Feb 2012 08:29:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>如何在HostDomainZone的Windows虚拟主机上使用PHP连接MySQL数据库</title>
		<link>http://www.beishan.info/hostdomainzone/20080609/how-to-connect-mysql-using-php-with-hostdomainzone-windows-hosting.html</link>
		<comments>http://www.beishan.info/hostdomainzone/20080609/how-to-connect-mysql-using-php-with-hostdomainzone-windows-hosting.html#comments</comments>
		<pubDate>Mon, 09 Jun 2008 09:49:44 +0000</pubDate>
		<dc:creator>Beishan</dc:creator>
				<category><![CDATA[HostDomainZone]]></category>
		<category><![CDATA[DSN]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows虚拟主机]]></category>

		<guid isPermaLink="false">http://www.beishan.info/hostdomainzone/20080609/how-to-connect-mysql-using-php-with-hostdomainzone-windows-hosting.html</guid>
		<description><![CDATA[【<a href='http://www.beishan.info'>北山美国主机评论</a>】HostDomainZone的Windows虚拟主机支持ASP、ASP.net、MySQL数据库和MS SQL Server数据库。 HostDomainZone的Windows虚拟主机也支持PHP，但是用通常的PHP连接MySQL数据库的方法时会出现错误。 &#60;?php //Open a connection to the mysql server $link=mysql_connect("p41mysql109.secureserver.net","Test1234","Test1234"); if(!$link) { echo "Failed to establish connection to mysql server!"; echo mysql_error(); } else { echo "Success to establish connection to mysql server!"; } ?&#62; 上面的PHP代码是通常所用的连接MySQL数据库的方法，但是在HostDomainZone的Windows虚拟主机上会出现如下的错误： Client does not support authentication protocol requested by server; consider upgrading MySQL client 那是不是在HostDomainZone的Windows虚拟主机上就不能使用PHP＋MySQL呢？ 这个问题还特意问了一下他们的技术支持（也就是GoDaddy的技术支持，HostDomainZone是GoDaddy的代理，所有的技术支持由GoDaddy提供），技术支持说，如果要使用PHP就需要切换到Linux系统上。 后来通过研究发现，在HostDomainZone的Windows虚拟主机上是可以使用PHP连接MySQL数据库的，只是需要使用ODBC进行连接。因此需要安装DSN，具体的方法参考在HostDomainZone的Windows虚拟主机上为MySQL安装DSN [...] (原文: <a href='http://www.beishan.info/hostdomainzone/20080609/how-to-connect-mysql-using-php-with-hostdomainzone-windows-hosting.html'>如何在HostDomainZone的Windows虚拟主机上使用PHP连接MySQL数据库</a>)]]></description>
		<wfw:commentRss>http://www.beishan.info/hostdomainzone/20080609/how-to-connect-mysql-using-php-with-hostdomainzone-windows-hosting.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>在HostDomainZone的Windows虚拟主机上为MySQL安装DSN</title>
		<link>http://www.beishan.info/hostdomainzone/20080607/install-dsn-in-mysql-on-hostdomainzone-windows-hosting.html</link>
		<comments>http://www.beishan.info/hostdomainzone/20080607/install-dsn-in-mysql-on-hostdomainzone-windows-hosting.html#comments</comments>
		<pubDate>Sat, 07 Jun 2008 08:21:18 +0000</pubDate>
		<dc:creator>Beishan</dc:creator>
				<category><![CDATA[HostDomainZone]]></category>
		<category><![CDATA[DSN]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Windows虚拟主机]]></category>

		<guid isPermaLink="false">http://www.beishan.info/hostdomainzone/20080607/install-dsn-in-mysql-on-hostdomainzone-windows-hosting.html</guid>
		<description><![CDATA[【<a href='http://www.beishan.info'>北山美国主机评论</a>】HostDomainZone的Windows虚拟主机支持Access、MySQL、MS SQL Server三种数据库。 对于HostDomainZone的Windows虚拟主机，有两种方式为MySQL数据库安装DSN。 方法一、在创建的时候就选择安装DSN。创建的过程参阅HostDomainZone / GoDaddy虚拟主机上创建MySQL数据库。唯一不同的地方如下图： 选择安装DSN(上图红框所示)即可。 方法二、如果在创建的时候没有为MySQL数据库安装DSN，可以根据下面的步骤进行安装DSN： (1). 进入MySQL数据库的详细信息页面(具体步骤参阅：HostDomainZone / GoDaddy虚拟主机的MySQL数据库地址)，页面显示类似如下： (2). 点击 Install (上图红框所示)，出现如下页面： (3). 点击 OK 图标 (上图红框所示)，出现如下页面： DSN处于pending setup(上图红框所示)，等几分钟就可以了。 (原文: <a href='http://www.beishan.info/hostdomainzone/20080607/install-dsn-in-mysql-on-hostdomainzone-windows-hosting.html'>在HostDomainZone的Windows虚拟主机上为MySQL安装DSN</a>)]]></description>
		<wfw:commentRss>http://www.beishan.info/hostdomainzone/20080607/install-dsn-in-mysql-on-hostdomainzone-windows-hosting.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

