How to create database in MySQL

Himmat Kumar Nov 7, 2024, 1:16 PM
MySQL
Views 115
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-create-table-in-mysql
239 viewsMySQL
Himmat Kumar Nov 12, 2024, 3:56 AM

how to create table in MySQL database?

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

how to drop table in MySQL database

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

What is MySQL database?

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

How to drop database in MySQL ?

gk-questions-answers-2024
500 viewsGK
Himmat Kumar Aug 20, 2024, 4:10 AM

100 Latest General Knowledge Questions and Answers (202...

how-to-send-emails-with-queues-in-laravel
148 viewsLaravel
Himmat Kumar Oct 16, 2024, 12:32 PM

How to Send Emails with Queues in Laravel. how to use ...

ielts-2025-india-complete-guide
628 viewsEducation
Himmat Regar Jun 19, 2025, 6:47 PM

IELTS 2025 Guide for Indian Test-Takers – Fees, Prep Pl...

nextjs-api-routes-backend-functionality
226 viewsnextjs
Himmat Regar Jun 29, 2025, 5:03 PM

How to Use API Routes in Next.js for Backend Functional...

html-headings-guide
243 viewsHTML
Himmat Kumar Aug 18, 2024, 11:31 PM

Understanding HTML Headings: A Simple Guide

semantic-html-complete-guide
1383 viewsHTML
Himmat Regar Jun 9, 2025, 5:37 PM

Semantic HTML Explained: Why <header>-<footer> & Friend...