How to create database in MySQL

Himmat Kumar Nov 7, 2024, 1:16 PM
MySQL
Views 121
Blog Thumbnail

The SQL CREATE DATABASE Statement

Create a new database using an SQL query.

Steps:

  1. Open phpMyAdmin in your system.
  2. Click on the SQL tab.
  3. Paste the query CREATE DATABASE Testingdatabase;.
  4. Click the "Go" button.
  5. You should see a success message.
  6. Refresh the page to check if the database was created successfully.

Syntax

CREATE DATABASE Data_base_name;

Example of creating a database:

The following SQL statement creates a database called "Testingdatabase":

CREATE DATABASE Testingdatabase;

Comments

Please login to leave a comment.

No comments yet.

Related Posts

how-to-drop-database-in-mysql
141 viewsMySQL
Himmat Kumar Nov 12, 2024, 2:56 AM

How to drop database in MySQL ?

how-to-drop-table-in-mysql-database
205 viewsMySQL
Himmat Kumar Nov 25, 2024, 8:29 AM

how to drop table in MySQL database

how-to-create-table-in-mysql
259 viewsMySQL
Himmat Kumar Nov 12, 2024, 3:56 AM

how to create table in MySQL database?

what-is-mysql-database
139 viewsMySQL
Himmat Kumar Nov 7, 2024, 4:40 AM

What is MySQL database?

best-commerce-colleges-in-india
575 viewsCareer
Himmat Regar Jun 19, 2025, 6:22 PM

Top 10 Commerce Colleges in India for 2025 – Rankings, ...

understanding-queues-in-coding
264 viewsInterview
Himmat Kumar Oct 15, 2024, 1:18 PM

What is queue ? how to implement and why to use

ios-26-features-supported-iphones
1145 viewsTechnology
Himmat Regar Jun 10, 2025, 5:13 PM

iOS 26: Liquid Glass, Apple Intelligence & Supported iP...

html-attributes-guide
247 viewsHTML
Himmat Kumar Aug 18, 2024, 10:58 PM

Understanding HTML Attributes: A Beginner's Guide

javascript-variables-var-let-const-explained
Himmat Kumar Mar 25, 2025, 12:03 PM

JavaScript Variables: var vs let vs const