<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=122.162.160.68</id>
	<title>IdeaWazaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=122.162.160.68"/>
	<link rel="alternate" type="text/html" href="https://ideawaza.com/wiki/Special:Contributions/122.162.160.68"/>
	<updated>2026-09-30T17:39:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://ideawaza.com/index.php?title=Archive:PHP_and_MySQL_Programming/Creating_a_Database&amp;diff=42772</id>
		<title>Archive:PHP and MySQL Programming/Creating a Database</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Archive:PHP_and_MySQL_Programming/Creating_a_Database&amp;diff=42772"/>
		<updated>2007-10-03T05:10:57Z</updated>

		<summary type="html">&lt;p&gt;122.162.160.68: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
MySQL is a relational database. In a relational database, data is stored as a collection of fields called a row. Like fields, rows are in turn collectively stored as a table. Tables are stored collectively in a database. One MySQL server can store multiple databases, and have users who have various rights to each database.&lt;br /&gt;
&lt;br /&gt;
Now a days, mysql is the one of the mostly used relational database among others as it is simple, free (free source), easy to maintain and cost effective.&lt;br /&gt;
&lt;br /&gt;
In order to store data into MySQL, it is thus obvious that we will need to prepare a space in MySQL for a table of data known as a Database.&lt;br /&gt;
&lt;br /&gt;
== SQL Code ==&lt;br /&gt;
&lt;br /&gt;
The code for creating such a database in SQL (Sequential Query Language) is a simple query :&lt;br /&gt;
&lt;br /&gt;
 mysql&amp;gt; CREATE DATABASE `database_name`;&lt;br /&gt;
&lt;br /&gt;
== Using the Database ==&lt;br /&gt;
&lt;br /&gt;
After a database has been created, you have to tell MySQ that to make it the active database before you can start running further queries on it. You do this as follows :&lt;br /&gt;
&lt;br /&gt;
 mysql&amp;gt; USE `database_name`;&lt;br /&gt;
&lt;br /&gt;
[[../Introduction to MySQL/|Previous: Introduction to MySQL]] | [[../|TOC]] | [[../Creating a Table/|Next: Creating a Table]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PHP and MySQL Programming|{{SUBPAGENAME}}]]&lt;/div&gt;</summary>
		<author><name>122.162.160.68</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Archive:PHP_and_MySQL_Programming/Creating_a_Database&amp;diff=42771</id>
		<title>Archive:PHP and MySQL Programming/Creating a Database</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Archive:PHP_and_MySQL_Programming/Creating_a_Database&amp;diff=42771"/>
		<updated>2007-10-03T05:09:29Z</updated>

		<summary type="html">&lt;p&gt;122.162.160.68: /* Using the Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
MySQL is a relational database. In a relational database, data is stored as a collection of fields called a row. Like fields, rows are in turn collectively stored as a table. Tables are stored collectively in a database. One MySQL server can store multiple databases, and have users who have various rights to each database.&lt;br /&gt;
&lt;br /&gt;
In order to store data into MySQL, it is thus obvious that we will need to prepare a space in MySQL for a table of data known as a Database.&lt;br /&gt;
&lt;br /&gt;
== SQL Code ==&lt;br /&gt;
&lt;br /&gt;
The code for creating such a database in SQL (Sequential Query Language) is a simple query :&lt;br /&gt;
&lt;br /&gt;
 mysql&amp;gt; CREATE DATABASE `database_name`;&lt;br /&gt;
&lt;br /&gt;
== Using the Database ==&lt;br /&gt;
&lt;br /&gt;
After a database has been created, you have to tell MySQ that to make it the active database before you can start running further queries on it. You do this as follows :&lt;br /&gt;
&lt;br /&gt;
 mysql&amp;gt; USE `database_name`;&lt;br /&gt;
&lt;br /&gt;
[[../Introduction to MySQL/|Previous: Introduction to MySQL]] | [[../|TOC]] | [[../Creating a Table/|Next: Creating a Table]]&lt;br /&gt;
&lt;br /&gt;
[[Category:PHP and MySQL Programming|{{SUBPAGENAME}}]]&lt;/div&gt;</summary>
		<author><name>122.162.160.68</name></author>
	</entry>
</feed>