How to Create a Database in MySQL

Intermediate 1 hour 16 steps 32146 views Rating: 3.8/5 Published: 2026-03-21

Make sure that your MySQL server is connected.. Copy the installation folder's path.. Open your computer's command line.

Start Playback
W
Author

Steps

1

Make sure that your MySQL server is connected.

Step 1

Make sure that your MySQL server is connected.

2

Copy the installation folder's path.

Step 2

Copy the installation folder's path.

3

Open your computer's command line.

Step 3

Open your computer's command line.

4

Change to the MySQL installation folder's directory.

Step 4

Change to the MySQL installation folder's directory.

5

Open the MySQL login command.

Step 5

Open the MySQL login command.

6

Enter your account password.

Step 6

Enter your account password.

7

Create your database's file.

Step 7

Create your database's file.

8

Display the current databases.

Step 8

Display the current databases.

9

Select your database.

Step 9

Select your database.

10

Wait for the confirmation message.

Step 10

Wait for the confirmation message.

11

Understand the different table commands.

Step 11

Understand the different table commands.

12

Create the table outline.

Step 12

Create the table outline.

13

Add a line to your table.

Step 13

Add a line to your table.

14

Insert the rest of your data if possible.

Step 14

Insert the rest of your data if possible.

15

Upload a text file if needed.

Step 15

Upload a text file if needed.

16

View your table.

Step 16

View your table.

View as Slideshow

Rate This Guide

★ ★ ★ ☆ ☆ 3.8/5
3

Comments (0)

No comments yet. Be the first to share your thoughts!