Help Docs Control Panel Guides The Ultimate Guide to the WHM Control Panel (2025) Guide to the cPanel Control Panel Manage Databases in cPanel Deleting a User From a Database or Account in cPanel

Deleting a User From a Database or Account in cPanel

In cPanel, each MySQL database can have multiple users. If needed, you can delete a user from a specific database or remove the MySQL user entirely from your account. This can be done directly from the database or through your cPanel account.

Each MySQL database you create in cPanel can have multiple users assigned to it for different purposes. At some point, you may want to delete a user. You can delete a user from a specific MySQL database or delete the MySQL User completely from the account.

You can delete a user from your:

Delete from Database

  1. Log into cPanel. 
  2. Click the link for MySQL Databases.
    mysql databases link highlighted
  3. To delete a user from a database, navigate to the Current Databases section under MySQL Databases.
    current databases list
  4. The users assigned to each database will show under the Privileged Users section.
    privileged users highlighted
  5. Click the trash can icon to delete the user from the database.
    trash can icon highlighted
  6. A green success message will appear to confirm the user has been deleted from the database.
    revoke access success message
  7. When you return to the Current Databases section, you will see the user is no longer listed in the database.
    user no longer showing in section

Delete from cPanel Account

  1. Scroll to the Current Users section at the bottom of the MySQL Databases page.
    current user section
  2. Click the Delete icon on the line for the user you want to delete.
    delete button highlighted
  3. You will be asked to confirm that you want to permanently remove the user. Click Delete User.
    delete user button highlighted
  4. A green success bar will appear notifying that the user has been permanently deleted.
    delete user success message
  5. When you go back to the MySQL Databases page, the user will no longer show in Current Users.
    user no longer showing in section

 

Was this article helpful?