<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Web Design Tutorials &#187; How to create and set up a Database.</title>
	<atom:link href="http://bestwebdesignz.com/tips/tag/how-to-create-and-set-up-a-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://bestwebdesignz.com/tips</link>
	<description></description>
	<lastBuildDate>Mon, 23 Apr 2012 11:48:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Step 1: How to create and set up a Database</title>
		<link>http://bestwebdesignz.com/tips/mysql-database-tutorials/how-to-create-and-set-up-a-database/</link>
		<comments>http://bestwebdesignz.com/tips/mysql-database-tutorials/how-to-create-and-set-up-a-database/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 06:11:51 +0000</pubDate>
		<dc:creator>clement</dc:creator>
				<category><![CDATA[MySQL Database Tutorials]]></category>
		<category><![CDATA[How to create and set up a Database.]]></category>

		<guid isPermaLink="false">http://bestwebdesignz.com/tips/?p=1682</guid>
		<description><![CDATA[Intro Many people tell me they aren’t very fond of scripts, because the install frightens them a bit. And it’s true: creating a database, importing tables, your site’s root path… if you don’t know what you’re doing, this looks pretty complicated. Luckily, it is not, once you get the hang of it. That’s why I’ve [...]]]></description>
			<content:encoded><![CDATA[<p>Intro</p>
<p>Many people tell me they aren’t very fond of scripts, because the install frightens them a bit. And it’s true: creating a database, importing tables, your site’s root path… if you don’t know what you’re doing, this looks pretty complicated.<br />
Luckily, it is not, once you get the hang of it.</p>
<p>That’s why I’ve created this step-by-step tutorial on how to set up a database.<br />
I’ve included a screenshot for every step of the way.<br />
The red arrows on the screenshots indicate the required action.</p>
<p>(I’ve used cPanel to create the database, as this is the most common way)</p>
<p>Included:</p>
<p>Chapter 1 &#8211; Creating Your Database &amp; Database User<br />
Chapter 2- Importing Database Tables In phpMyAdmin<br />
Chapter 3 &#8211; Configuring Your Script</p>
<p>1. Creating your database</p>
<p>First, you need to log in to cPanel. You will find it when you load http://www.yourdomain.com/cpanel</p>
<p>When you do, you see the screen below:<br />
Click ‘MySQL Databases’ (see the red arrow)<br />
<img class="alignnone size-full wp-image-1687" title="How to create and set up a Database." src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/09/image0041.jpg" alt="How to create and set up a Database." width="426" height="317" /></p>
<p>A new screen will appear, showing you a list of all your existing databases and<br />
database users:<br />
<img class="alignnone size-full wp-image-1688" title="How to create and set up a Database." src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/09/image0061.jpg" alt="How to create and set up a Database." width="449" height="343" /></p>
<p>Scroll down until you see a field and a button that says ‘Create Database’.<br />
<img class="alignnone size-full wp-image-1689" title="How to create and set up a Database." src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/09/image0082.jpg" alt="How to create and set up a Database." width="480" height="205" /></p>
<p>Give your database a name and click the ‘Create Database’ button.<br />
A new window appears, confirming your action:<br />
<img class="alignnone size-full wp-image-1690" title="How to create and set up a Database." src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/09/image010.jpg" alt="How to create and set up a Database." width="500" height="213" /></p>
<p>Click ‘Go Back’ to go back to the previous page.</p>
<p>On that page, scroll down until you see two fields and a button that says ‘Create User’.<br />
<img class="alignnone size-full wp-image-1691" title="How to create and set up a Database." src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/09/image012.jpg" alt="How to create and set up a Database." width="492" height="113" /></p>
<p>Choose a username and password, and click the button.</p>
<p>The confirmation screen will appear again. Click ‘Go Back’ to go back to the<br />
previous page.</p>
<p>On that page, scroll down until you see ‘Add Users To Your Database’.<br />
<img class="alignnone size-full wp-image-1692" title="How to create and set up a Database." src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/09/image0141.jpg" alt="How to create and set up a Database." width="432" height="175" /></p>
<p>In the first drop down menu, select the user you just created. In the second drop<br />
down menu, select the database you just created.<br />
Make sure the box next to ‘ALL’ is checked.</p>
<p>Click the button that says ‘Add User To Database’.</p>
<p>Again you will see a confirmation message. Click ‘Go Back’ to go to the previous<br />
page.</p>
<p>NOTE: a prefix has been added to the database name and username you<br />
entered. Make sure to always include that prefix when you need to add your database info in a script!</p>
<p>Scroll down until you see ‘Access Hosts’. Make a note of what’s written there<br />
(usually, this will be ‘localhost’).<br />
<img class="alignnone size-full wp-image-1693" title="How to create and set up a Database." src="http://bestwebdesignz.com/tips/wp-content/uploads/2009/09/image016.jpg" alt="How to create and set up a Database." width="500" height="87" /></p>
<p>Your database has been created and by now you have all the info you need to run your script’s installer (or to manually edit the script&#8217;s configuration file):</p>
<p>•    your database name<br />
•    your database username<br />
•    your password<br />
•    your host</p>
<p>follow Step 2 in the next tutorial.</p>
<script type="text/javascript"><!--
                    google_ad_client = "pub-7099335855422733";
                    google_ad_slot = "4729128935";
                    google_ad_width = 336;
                    google_ad_height = 280;
                    //-->
                    </script>
                    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script>
                    ]]></content:encoded>
			<wfw:commentRss>http://bestwebdesignz.com/tips/mysql-database-tutorials/how-to-create-and-set-up-a-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<series:name><![CDATA[MySQL Database Tutorials]]></series:name>
	</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.271 seconds -->

