Creating Databases : Create Database « Database « SQL / MySQL






Creating Databases

 
/*
mysql> CREATE DATABASE MyDatabase;
Query OK, 1 row affected (0.06 sec)

mysql> Show Databases;
+------------+
| Database   |
+------------+
| info       |
| java2s     |
| mydatabase |
| mysql      |
| t          |
| test       |
| ttt        |
+------------+
7 rows in set (0.00 sec)


*/  
CREATE DATABASE MyDatabase;

Show Databases;

           
         
  








Related examples in the same category

1.Create the firstdb database