Knowledgebase

Create a database in cPanel

Print
mysql
انشاء قاعدة بيانات في لوحة cPanel
انشاء قواعد بيانات
0

To create a MySQL database in cPanel, follow these steps:

Step One: Create the Database

  1. Navigate to the "MySQL Databases" section in cPanel
  2. Select "Create Database"
  3. Enter the desired database name and click "Create Database"

Creating a new MySQL database

Step Two: Create User and Password

  1. Select "Add New User"
  2. Enter the username and password
  3. Click "Create User"

Creating a new database user

Tip: Use a strong password containing uppercase and lowercase letters, numbers, and symbols to ensure database security.

Step Three: Link User to Database

  1. In the same section, select "Add User to Database"
  2. Choose the user and database from the dropdown menus
  3. Select the required privileges (usually "All Privileges" for applications)
  4. Click "Add User to Database"

Linking user to database

Warning: Save the database information (database name, username, password, server address) in a secure location. You will need it to connect applications to the database.
Was this answer helpful?