---
title: How to Add a User to a Database and Grant Privileges
description: "**1.** Log in to your cPanel account. **2.** In the **Databases** section, click on **MySQL Databases**. ![](/img/mysql-databases-icon.gif) **3.** Scroll down to the end of the page and under **Add User to Database**. Select a user from the drop-down list, and…"
url: "https://www.aeserver.com/support/how-to-add-a-user-to-a-database-and-grant-privileges/"
updated: "2025-01-05"
category: cPanel Control Panel
---

# How to Add a User to a Database and Grant Privileges

**1.** Log in to your cPanel account.

**2.** In the **Databases** section, click on **MySQL Databases**.
 ![](/img/mysql-databases-icon.gif)

**3.** Scroll down to the end of the page and under **Add User to Database**. Select a user from the drop-down list, and choose a Database from the list.

**4.** Click on **Add**.
![](/img/add-db.gif)

**5.** On **Manage User Privileges**. Mark the box **ALL PRIVILEGES** and click on **Make Changes**.
![](/img/add-privileges.gif)
