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

Infix To Postfix Conversion Using Stack in Javascript

How to solve IE/Edge CORS error ?

Web Server vs Application Server Difference Explained

How to setup angular2 in visual studio ide

Binary Search Tree Insert node Implementation in Javascript

How to use ninject dependency injection in mvc

How to Add Comparison Feature in Replace in C-Sharp