How to create database in MySQL

Himmat Kumar Nov 7, 2024, 1:16 PM
MySQL
Views 493
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

497 viewsMySQL
Himmat Kumar Nov 7, 2024, 4:40 AM

What is MySQL database?

505 viewsMySQL
Himmat Kumar Nov 12, 2024, 2:56 AM

How to drop database in MySQL ?

671 viewsMySQL
Himmat Kumar Nov 12, 2024, 3:56 AM

how to create table in MySQL database?

561 viewsMySQL
Himmat Kumar Nov 25, 2024, 8:29 AM

how to drop table in MySQL database

3411 viewsTechnology
himmat Aug 1, 2025, 5:29 PM

Quantum Computing 2025: The Dawn of the Quantum Era

8290 viewsnextjs
Himmat Regar Jun 29, 2025, 5:20 PM

Image Optimization in Next.js: Everything You Should Kn...

3401 viewsTechnology
himmat Aug 1, 2025, 5:14 PM

5G in 2025: Unleashing the Future of Connectivity

2019 viewsTechnology
himmat Aug 24, 2025, 5:57 PM

15 Web Development Trends to Watch in 2025

7730 viewsnextjs
Himmat Regar Jul 14, 2025, 5:24 PM

Mastering Dynamic Routes in Next.js: [id].js & App Rout...

7500 viewsnextjs
Himmat Regar Jun 29, 2025, 5:18 PM

Incremental Static Regeneration (ISR) Explained with Ex...