<?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>Database Guides &#187; How To</title>
	<atom:link href="http://www.databaseguides.com/category/how-to/feed" rel="self" type="application/rss+xml" />
	<link>http://www.databaseguides.com</link>
	<description>All about databases</description>
	<lastBuildDate>Sun, 09 Jan 2011 22:09:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing your first Wordpress script</title>
		<link>http://www.databaseguides.com/installing-your-first-wordpress-script</link>
		<comments>http://www.databaseguides.com/installing-your-first-wordpress-script#comments</comments>
		<pubDate>Tue, 09 Dec 2008 17:16:09 +0000</pubDate>
		<dc:creator>Shenron</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Wordpress script]]></category>

		<guid isPermaLink="false">http://www.databaseguides.com/?p=7</guid>
		<description><![CDATA[Now that we&#8217;ve created the database and added an user to it, we can actually get going and install the script (wordpress).

Understanding the basics
Right, first of all we will explain the basic format of a database and username, as this is confusing to a lot of newbies, it took me a while to get used [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we&#8217;ve <a href="http://www.databaseguides.com/create-your-first-mysql-database">created the database</a> and added an user to it, we can actually get going and install the script (<a href="http://www.wordpress.org">wordpress</a>).</p>
<p style="text-align: center;"><a href="http://www.databaseguides.com/wp-content/uploads/2008/12/wordpress-logo.png"><img class="size-full wp-image-9 aligncenter" title="wordpress-logo" src="http://www.databaseguides.com/wp-content/uploads/2008/12/wordpress-logo.png" alt="Wordpress Logo" width="460" height="104" /></a></p>
<p><strong>Understanding the basics</strong></p>
<p>Right, first of all we will explain the basic format of a database and username, as this is confusing to a lot of newbies, it took me a while to get used to it.</p>
<p><em>useraccount_databasename</em></p>
<p>Your hosting account username ALWAYS comes before the databasename followed by the underscore &#8220;_&#8221; to avoid confusion you could always call the name the <a href="http://en.wikipedia.org/wiki/Database">database</a> the same as your account name so say your hosting account name was &#8220;JonDoe&#8221; you would put JonDoe, so it would show as JonDoe_JonDoe</p>
<p><em>useraccount_databaseuser</em></p>
<p>The database username is slightly different as the database user is what your script uses to add entries or tables into the database, or even to query the database and as with the database name your hosting account username always comes first followed by the &#8220;_&#8221; underscore.</p>
<p>Again for ease of use you could name the database user the same as your hosting account name however we will call it &#8220;dbadmin&#8221; so you can tell them appart. So it would be typed as JonDoe_dbadmin</p>
<p><strong>Table Prefixes</strong></p>
<p>Some scripts use a table prefix within the database itself for example SMF uses the prefix smf_ some scripts will allow you to change this prefix however you don&#8217;t really need to, if it has one preset then just leave it as is. Prefixes also help the user identify which entries belong to which script or installation.</p>
<p><strong>Database Hostname</strong></p>
<p>This is simply the hostname used to connect to whatever database your using in 99% of cases it will be localhost and a lot of scripts nowadays will already have this set but it can always be changed to whatever the hostname is.</p>
<p><strong>Installation</strong></p>
<p>Right now that we understand the basic format of the database name and username we can begin to install the script, for this tutorial we will be installing wordpress as it&#8217;s probably one of the most used scripts which is also by far the easiest to install but for a complete novice understanding what to put in for the database related fields can be daunting.</p>
<p><span style="text-decoration: underline;"><strong>Step 1</strong></span>: Creating Config File</p>
<p>If you want wordpress to create the config file itself then you can click this and if it works you will be taken to the next step however if not you will need to make a simple change to your permissions. Log into cpanel then click file manager, next navigate to the folder wordpress is in which will be in your public_html folder(probably just called wordpress) and then select it it and click change permissions on the panel at the top and set to 777. Now go back to the wordpress install script and try creating the config file again, if you&#8217;ve uploaded wp to the public_html folder then simply follow the above process but this time select your public_html folder.</p>
<p><span style="text-decoration: underline;"><strong>Step 2</strong></span>: Configuration</p>
<p>As we have explained the database format to you earlier in this tutorial you should now have a much better understanding of what to enter.</p>
<p><span style="text-decoration: underline;">Database Name</span>: <strong>useraccount_databasename</strong></p>
<p><span style="text-decoration: underline;">Username</span>: <strong>useraccount_databaseuser</strong></p>
<p><span style="text-decoration: underline;">Password</span>: password goes here (the one you generated for the database user in our <a href="http://www.databaseguides.com/create-your-first-mysql-database">previous tutorial</a>)</p>
<p><span style="text-decoration: underline;">Database Host</span>: localhost</p>
<p><span style="text-decoration: underline;">Table Prefix</span>: wp_ (no need to change this)</p>
<p>Then simply hit <strong>submit</strong>.</p>
<p><span style="text-decoration: underline;"><strong>Step 3</strong></span>: Admin Setup</p>
<p>This is pretty straightforward really and it doesn&#8217;t need much explaining as it&#8217;s self explanatory, just enter your blog name, email and bobs your uncle. Don&#8217;t forget to keep your admin password somewhere safe as it is generated by the installation script but you can easily change it once you log in to something more memorable.</p>
<p><span style="text-decoration: underline;">Congratulations!</span></p>
<p>Well done you just installed your first script, not that hard is it?</p>
<p>Most scripts follow the same format for the database side of things during installation so for future reference you can use the following as a guide although some scripts may not always follow this format.</p>
<ul>
<li><strong>Database Name</strong>: useraccount_databasename</li>
<li><strong>Database User</strong>: useraccount_databaseuser</li>
<li><strong>Database Password</strong>: use the one you generate in cpanel for the database user, sometimes though scripts just need your hosting account password so if the one you generate doesn&#8217;t work try your hosting account password</li>
<li><strong>Hostname</strong>: localhost</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.databaseguides.com/installing-your-first-wordpress-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create your first Mysql database</title>
		<link>http://www.databaseguides.com/create-your-first-mysql-database</link>
		<comments>http://www.databaseguides.com/create-your-first-mysql-database#comments</comments>
		<pubDate>Tue, 09 Dec 2008 14:30:25 +0000</pubDate>
		<dc:creator>Shenron</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[MySQL Database]]></category>

		<guid isPermaLink="false">http://www.databaseguides.com/?p=3</guid>
		<description><![CDATA[Installing a script (like wordpress for example) can seem a daunting task to newbies, with all those different fields you have to fill in and to which you don&#8217;t have a clue about.
Don&#8217;t fret, we will guide you through the process of creating a new database and installing that script.
Step 1
This much you should have [...]]]></description>
			<content:encoded><![CDATA[<p>Installing a script (like wordpress for example) can seem a daunting task to newbies, with all those different fields you have to fill in and to which you don&#8217;t have a clue about.</p>
<p>Don&#8217;t fret, we will guide you through the process of creating a new database and installing that script.</p>
<p><strong>Step 1</strong></p>
<p>This much you should have already figured out by now, log into cpanel and select <a href="http://www.mysql.com/">MySQL</a> Databases there are other types of databases but we dont need those for now.</p>
<p style="text-align: center;"><a href="http://www.databaseguides.com/wp-content/uploads/2008/12/logo-mysql-sun.gif"><img class="size-full wp-image-5 aligncenter" title="logo-mysql-sun" src="http://www.databaseguides.com/wp-content/uploads/2008/12/logo-mysql-sun.gif" alt="Logo Mysql / Sun" width="205" height="68" /></a></p>
<p><strong>Step 2</strong></p>
<p>You should see a text area which says above it &#8220;Create New Database&#8221; yup you guessed it you put the name of the database in here and click create. Keep it simple as chances are you will have to enter it into your script at somepoint, say for example your installing vbulletin, just call it something like forum . Easy peasy so far huh?</p>
<p><strong>Step 3</strong></p>
<p>This is where it starts to get more complicated. Go back to the previous page and then scroll down and you should see an option further down the page which says &#8220;Add new User&#8221; and like naming the database itself keep the username simple. Then create a password, for extra security it&#8217;s probably best if you generate one but you should note this down using notepad or something as you will more than likely need to enter it  uring your script installation after then you probably wont need it again but you can always retreive it from your scripts config file.</p>
<p><strong>Step 4</strong></p>
<p>Now we hit the back button again and this time we need to add the user to the database lets say you named it forum. Scroll down the page where you should see the option &#8220;Add user to Database&#8221; , now provided you haven&#8217;t created any other databases you shouldn&#8217;t have to select the database to add the user to, or vice versa however if you have simply select your database and user you just created from the drop down and click add.</p>
<p><strong>Step 5</strong></p>
<p>Were almost there chaps. Now you will have to give your database username whatever privileges you want it o have, this is more for the advanced user who wants extra security but most of you wont really need to configure these privelages so just click the ALL PRIVILEGES check box and then click make changes.</p>
<p><span style="text-decoration: underline;">Congratulations!</span></p>
<p>You&#8217;ve just created your first database now navigate on to the next part of our tutorial to find out how to install your first script.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.databaseguides.com/create-your-first-mysql-database/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

