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

Google Betting Big on AI Future

How to solve IE/Edge CORS error ?

4 Tips to Succeed in Online Marketing

To get the best out of your computer

Offline Methods to Get Visitors

Infix To Postfix Conversion Using Stack in Javascript

Are dual rear cameras on chinese phones fake?