
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
How can we create our own choice MySQL database?
CREATE DATABASE db_name can be used to create our own choice MySQL database. For example to create a database named Sample, we should have to run the command as follows −
mysql> CREATE DATABASE Sample; Query OK, 1 row affected (0.04 sec)
- Related Articles
- How can we create user accounts in MySQL database server?
- Does C++ compiler create default constructor when we write our own?
- How to create our own Listener interface in android?
- Can we create a database with a numeric name with MySQL?
- What is MySQL CREATE command? How can we create both database and table with this command?
- How can we create a table from an existing MySQL table in the database?
- How can we create MySQL views?
- How can we change the default MySQL database to the given database?
- How can we create a new database by using mysqladmin?
- How to create our own/custom functional interface in Java?\n
- How can we drop a MySQL view from the database?
- How can we create a new database by using PHP script?
- When should we write our own assignment operator in C++?
- Can we create multiple database in SAP HANA system?
- How can we establish MySQL database by using MySQL binary at command\nprompt?

Advertisements