How to Create a Database in MySQL

Learn how to create a database in MySQL 8. Here, we will start the MySQL server, log in and create a sample database. We will create a new databaseĀ amitdb.

The CREATE DATABASE statement is used to create a table in MySQL. Let us see the query to create a new table amitdb:

Now, you can display all the databases using the following command:

The screenshot displays the list of all the databases using the above command. Our new databaseĀ amitdb is also visible:

Create a database in MySQL

Video Tutorial: Create a Database in MySQL

Let us now see the step-by-step instructions on how create a database in MySQL using the following video tutorial:

If you liked the tutorial, spread the word and share the link and our website Studyopedia with others:

Support us:Ā DONATE


Read More:

How to Install MySQL on MacOS
How to create a table in MySQL
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading