Skip to main content

7. How to Create a MySQL Database in cPanel

Login Register

7. How to Create a MySQL Database in cPanel

Many applications, including WordPress and other PHP applications, require a MySQL/MariaDB database.

Steps:

  1. Log in to cPanel.
  2. Open MySQL® Databases.
  3. Create a new database.
  4. Create a database user.
  5. Set a strong password for the database user.
  6. Add the user to the database.
  7. Assign the required privileges.
  8. Save the database name, username, password, and hostname.
  9. Use these details when installing or configuring your application.

Tip: Keep your database credentials private and never publish them publicly.

Still need help?

If this article did not answer your question, our support team can help.

Contact support