How to Create a MySQL Database Using the Command Line


Learn how to create a MySQL Database using the command-line interface (CLI). This is helpful if you have a server that does not include cPanel, such as InMotion’s Unmanaged Cloud VPS plans.

00:00 Intro
00:21 Login to Your Server via SSH
00:28 Login to MySQL as the root User
00:37 Create a New Database User
00:45 Grant the User Privileges
00:57 Log out of MySQL
01:03 Login to MySQL as the New Database User
01:15 Verify Privileges
01:25 Create a MySQL Database Using the Command Line
01:34 Outro

► Read our full guide on How to Create a MySQL Database Using the Command Line:

How to Create a MySQL Database Using the Command Line

Related Articles:
► How to Connect to your Server with SSH:

How to Connect to your Server with SSH

► How to Access MySQL via Command Line:

How to Access MySQL via Command Line

#CreateDatabase #MySQL #CLI

About Us:

InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about our scalable unmanaged VPS plans, visit us at

► https://www.inmotionhosting.com/cloud-vps


Duration: 00:02:12
Publisher: InMotion Hosting
You can watch this video also at the source.


Inxy Hosting CDN Marketplace