Mysql Create Database Overview

Create database command is used to create a new database. Admin user rights are required for creating database.

Mysql Create Database Syntax

The syntax for SQL create database command is

CREATE DATABASE db_name;

Mysql Create Database Example

Say if you want to create a database with name hostel.

CREATE DATABASE hostel;



If you want to add more comments to the article or you see any thing incorrect please write a comment below and we will surely get back to you.



Trending Articles


Incorrect table definition there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

Web Server vs Application Server Difference Explained

Infix To Postfix Conversion Using Stack in Javascript

SQL Overview

Binary Search Tree Insert node Implementation in Javascript

Evaluate Postfix Expressions Using Stack In Javascript

Linked List Size or Count in Javascript

MYSQL Dump - How to take mysql dump or export mysql data