<?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>OK&#124;Public Web Hosting &#187; Database</title>
	<atom:link href="http://www.okpublic.com/category/articles/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.okpublic.com</link>
	<description>Hosting by and for human beings</description>
	<lastBuildDate>Fri, 11 Dec 2009 17:13:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setup MySQL Databases</title>
		<link>http://www.okpublic.com/articles/setup-mysql-databases/</link>
		<comments>http://www.okpublic.com/articles/setup-mysql-databases/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 16:50:40 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.okpublic.com/articles/setup-mysql-databases/</guid>
		<description><![CDATA[ This article demonstrates how to setup MySQL databases with your hosting account.


 Login to the control panel and click on the &#8220;MySQL Databases&#8221; link in the &#8220;Databases&#8221; section.
Use the form (shown below) to create a new database. Type in the name of the database that you&#8217;d like to create. Please note that the name [...]]]></description>
			<content:encoded><![CDATA[<p> This article demonstrates how to setup MySQL databases with your hosting account.</p>
<p><span id="more-60"></span></p>
<ol>
<li> Login to the <a href="http://www.okpublic.com/cpanel" title="OK Public Control Panel" target="_blank">control panel</a> and click on the &#8220;MySQL Databases&#8221; link in the &#8220;Databases&#8221; section.<img src="http://www.okpublic.com/wp-content/uploads/2008/01/setup-mysql-step1.jpg" alt="Setup MySQL Database - Step 1" /></li>
<li>Use the form (shown below) to create a new database. Type in the name of the database that you&#8217;d like to create. Please note that the name that you input will be appended to the end of your username. For example, if you type in contacts, the database will end up being named <em>yourusername_contacts</em>.
<p><img src="http://www.okpublic.com/wp-content/uploads/2008/01/setup-mysql-step2.jpg" alt="Setup MySQL Database - Step 2" /></li>
<li>Next you will need to create a user that has permissions to read and write to the database. Use the form (shown below) to create this user by typing in a username and password. Again, the username you input will be appended to the end of your control panel username. For example, if you type in &#8220;contacts&#8221; for the username, the username will end up being <em>yourusername_contacts</em>.
<p><img src="http://www.okpublic.com/wp-content/uploads/2008/01/setup-mysql-step3.jpg" alt="Setup MySQL Database - Step 3" /></li>
<li>Once you have created both the database and the user, you now have to link the user to the database. In other words, you have to let the server know that the user has permission to read and write to the database that you created. Use the dropdown options in the &#8220;Add Users to Your Databases&#8221; section to assign the new user to the new database.
<p><img src="http://www.okpublic.com/wp-content/uploads/2008/01/setup-mysql-step4.jpg" alt="Setup MySQL Database - Step 4" /></li>
</ol>
<p>You have now created a database, a user and you have assigned the user to the database. You can now use that information to connect to the database using a web application or a script in your hosting account.</p>
<p>When setting this up, the host should be &#8220;localhost&#8221; unless you&#8217;re connecting to the database from outside of your hosting space with OK Public. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.okpublic.com/articles/setup-mysql-databases/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
