Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 69,826 times

Contents

Related Categories

MySQL Tutorial - Creating and Deleting Databases

gez

Creating and Deleting Databases

Creating a Database

The CREATE statement is used to create a database in MySQL. The following statement creates a database called search.

mysql> CREATE DATABASE search;

To let MySQL know that you want to use that database, you use the USE statement. The following example uses the database, search.

mysql> USE search;

Deleting a Database

Databases can be deleted using the DROP statement. The following example deletes the database, search.

mysql> DROP DATABASE search;

I'm available for contract work. Please visit Juicify for details.

Comments