Create Database

Create a database named "Products".

Syntax:


CREATE DATABASE Database_name; 

Example:


CREATE DATABASE Products; 
Mariadb Create database 1

# Show Database

SHOW DATABASES command is used to see the databases we have created.

Syntax:


SHOW DATABASES; 

Output:

Mariadb Create database 2

You can see the created database "Products".