<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A PHP script for testing a MySQL database connection</title>
	<atom:link href="http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/</link>
	<description>Ardamis is a blog about web development and technology in general.</description>
	<lastBuildDate>Sat, 28 Jan 2012 09:50:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: suggestion</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-90203</link>
		<dc:creator>suggestion</dc:creator>
		<pubDate>Tue, 24 Jan 2012 20:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-90203</guid>
		<description>for more info on failed connection attempts, change this

echo &quot;Could not connect to the server &#039;&quot; . $hostname . &quot;&#039;\n&quot;;

to this

echo &quot;Could not connect to the server &#039;&quot; . $hostname . &quot;&#039;. Error message returned was &quot; . mysql_error() . &quot;          \n&quot;;</description>
		<content:encoded><![CDATA[<p>for more info on failed connection attempts, change this</p>
<p>echo &#8220;Could not connect to the server &#8216;&#8221; . $hostname . &#8220;&#8216;\n&#8221;;</p>
<p>to this</p>
<p>echo &#8220;Could not connect to the server &#8216;&#8221; . $hostname . &#8220;&#8216;. Error message returned was &#8221; . mysql_error() . &#8221;          \n&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emraan</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-75398</link>
		<dc:creator>Emraan</dc:creator>
		<pubDate>Sat, 24 Dec 2011 17:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-75398</guid>
		<description>Very Nice.
Itz very Helpfull,
Thank You so MUCH :-)
Bohat Aala</description>
		<content:encoded><![CDATA[<p>Very Nice.<br />
Itz very Helpfull,<br />
Thank You so MUCH :-)<br />
Bohat Aala</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: param</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-71545</link>
		<dc:creator>param</dc:creator>
		<pubDate>Thu, 15 Dec 2011 09:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-71545</guid>
		<description>very good and very easy test</description>
		<content:encoded><![CDATA[<p>very good and very easy test</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deborah Cole</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-65380</link>
		<dc:creator>Deborah Cole</dc:creator>
		<pubDate>Wed, 02 Nov 2011 05:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-65380</guid>
		<description>Wow! A useful utility that really works!!! Thanks dude!</description>
		<content:encoded><![CDATA[<p>Wow! A useful utility that really works!!! Thanks dude!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mss.janey</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-62477</link>
		<dc:creator>mss.janey</dc:creator>
		<pubDate>Thu, 06 Oct 2011 08:50:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-62477</guid>
		<description>such an excellent piece of code!
easy, stylish, light and above all, functional - just what i needed right now to do some quick testing on multiple accounts!
thnx!</description>
		<content:encoded><![CDATA[<p>such an excellent piece of code!<br />
easy, stylish, light and above all, functional &#8211; just what i needed right now to do some quick testing on multiple accounts!<br />
thnx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Christian</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-55231</link>
		<dc:creator>Michael Christian</dc:creator>
		<pubDate>Sun, 17 Jul 2011 20:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-55231</guid>
		<description>You freakin rock man. I used this on a japanese server configuring it. the entire host site is in japanese. you just saved my day man!!!!!!!!!!

thanks</description>
		<content:encoded><![CDATA[<p>You freakin rock man. I used this on a japanese server configuring it. the entire host site is in japanese. you just saved my day man!!!!!!!!!!</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AC</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-53223</link>
		<dc:creator>AC</dc:creator>
		<pubDate>Thu, 30 Jun 2011 23:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-53223</guid>
		<description>This script worked great in debugging my simple issue - minor error in database name. Thank you for posting this!!!</description>
		<content:encoded><![CDATA[<p>This script worked great in debugging my simple issue &#8211; minor error in database name. Thank you for posting this!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramnihor</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-52151</link>
		<dc:creator>Ramnihor</dc:creator>
		<pubDate>Thu, 16 Jun 2011 10:30:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-52151</guid>
		<description>Really wonderfull</description>
		<content:encoded><![CDATA[<p>Really wonderfull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RayH</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-50745</link>
		<dc:creator>RayH</dc:creator>
		<pubDate>Sat, 14 May 2011 17:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-50745</guid>
		<description>Hi All,. If anyone experiences the same problem as mine, ie the code was partially displayed on the page and of course it wouldn&#039;t run, then please check that the php page was created without hidden editor characters. After sterling work by Oliver to help with the problem I managed to resolve the issue by deleting the page, creating a new one using a different editor and page type settings and then placing the code into that. Wham it worked brilliantly. Just to prove the point to myself, I then copied the code in a HTML page to see what would happen and the problems experienced were repeated there so obviously my server was not reading the page as a php page. Creating a new page sorted the problem. Thanks Oliver.</description>
		<content:encoded><![CDATA[<p>Hi All,. If anyone experiences the same problem as mine, ie the code was partially displayed on the page and of course it wouldn&#8217;t run, then please check that the php page was created without hidden editor characters. After sterling work by Oliver to help with the problem I managed to resolve the issue by deleting the page, creating a new one using a different editor and page type settings and then placing the code into that. Wham it worked brilliantly. Just to prove the point to myself, I then copied the code in a HTML page to see what would happen and the problems experienced were repeated there so obviously my server was not reading the page as a php page. Creating a new page sorted the problem. Thanks Oliver.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RayH</title>
		<link>http://www.ardamis.com/2008/05/26/a-php-script-for-testing-a-mysql-database-connection/#comment-50743</link>
		<dc:creator>RayH</dc:creator>
		<pubDate>Sat, 14 May 2011 16:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.ardamis.com/?p=67#comment-50743</guid>
		<description>Hi I want to thank Oliver for the hundred and 10 miles he walked to assist me in getting the above example to function. While the problem was never fully resolved, it may well be something to do with wqamp, php.ini and windows? Oliver reallt did try to help and I thank him for that. Good luck</description>
		<content:encoded><![CDATA[<p>Hi I want to thank Oliver for the hundred and 10 miles he walked to assist me in getting the above example to function. While the problem was never fully resolved, it may well be something to do with wqamp, php.ini and windows? Oliver reallt did try to help and I thank him for that. Good luck</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.935 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-01 21:41:48 -->

