How to create a MySQL database in cPanel

This demo assumes you’ve already logged in to cPanel, and are starting on the home screen.
image01

Now let’s learn how to create a MySQL database.

Click the “MySQL Database Wizard” icon.
image02

Enter a name for the new database, then click “Next Step”.
image03

Now we have to create a user for this database. Enter a username and create a password, then click “Create User”.
image04

Click the “All Privileges” check box, then click “Next Step”.
image05

That’s it! My MySQL database has been created, and the new user added to the database. The database name, username and password will all be needed for scripts that need to connect to the database.
image06

This is the end of the tutorial. You now know how to create and setup MySQL databases.

Was this article helpful?

Related Articles