How to Create a Database in cPanel

Creating a database in cPanel allows you to store and manage data for your website or applications.


📝 Steps to Create a Database

  1. 🔑 Log in to cPanel

    • Access your cPanel account using your credentials.

  2. 📂 Go to Manage Databases

    • Scroll down to the Databases section

    • Click on Manage Databases

  3. ➕ Create a New Database

    • Under Create New Database, enter a name for your database

    • Click Create Database

  4. 👤 Create a Database User

    • Scroll to MySQL Users → Add New User

    • Enter a username and strong password

    • Click Create User

  5. 🔗 Assign the User to the Database

    • Under Add User To Database, select the user and database

    • Click Add

    • Choose the required privileges and click Make Changes


💡 Tip

  • Use strong passwords for database users

  • Assign only necessary privileges to enhance security


🖼 Example / Screenshot