How to create database in MySQL

Himmat Kumar Nov 7, 2024, 1:16 PM
MySQL
Views 97
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-table-in-mysql-database
175 viewsMySQL
Himmat Kumar Nov 25, 2024, 8:29 AM

how to drop table in MySQL database

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

How to drop database in MySQL ?

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

how to create table in MySQL database?

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

What is MySQL database?

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

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

chatgpt-outage-june-2025
1405 viewsTechnology
Himmat Regar Jun 10, 2025, 5:25 PM

ChatGPT Outage Today: What Happened & How OpenAI Is Fix...

colombia-vs-argentina-comparison
1456 viewsMarketing
Himmat Regar Jun 10, 2025, 5:47 PM

Colombia vs Argentina: Economy, Tourism & Lifestyle Fac...

best-courses-after-12th-science-commerce-arts-2025
436 viewsCareer
Himmat Regar Jun 16, 2025, 6:01 PM

Best Courses After 12th (Science, Commerce, Arts)

fast-track-ai-developer-2025
440 viewsCareer
Himmat Regar Jun 16, 2025, 6:16 PM

Fast-Track to AI Developer in 2025 — 12-Month Roadmap &...

rohit-sharma-complete-career-records-2025
434 viewsSports
Himmat Regar Jun 16, 2025, 6:31 PM

Rohit Sharma’s Complete Legacy (2007-2025): Every Recor...