How to Delete a MySQL Database User in cPanel

Posted on by Ronald Caldwell | Updated:
Reading Time: 3 minutes

Server and system administration requires security checks and, occasionally, purging access for obsolete users. In the last tutorial on How to Remove a User From a MySQL Database in cPanel, it was understood that only users that need access to databases should maintain credentials. During your periodic security checks, you may come across users that need to be deleted and not just removed from the database.

This tutorial guides you through the process of how to delete a MySQL database user in cPanel.


  • A server with cPanel running.
  • Login credentials and appropriate permissions in cPanel.

How to Delete a MySQL Database User in cPanel

2. Under Databases, click MySQL Databases.

3. Under the Current Users section at the bottom of the page, click the Delete icon next to the user you want to delete.

4. Confirm you wish to delete the user by clicking Delete User.

5. A green message appears confirming that the user is deleted.

You can click Go Back to return to the main MySQL Databases page.

Wrapping Up

Ensuring only the users that should access the database have that access is a key to staying protected from security vulnerabilities. Make sure that you know how to delete a MySQL database user in cPanel and keep your list of users up-to-date.

Liquid Web’s VPS Hosting, Cloud Dedicated Servers, and Dedicated Servers have cPanel options for your hosting needs. Contact our sales team today to get your server up and running.

Check out the next tutorial in our cPanel and MySQL series on How to Check a MySQL Database for Errors in cPanel.

Avatar for Ronald Caldwell

About the Author: Ronald Caldwell

Ron is a Technical Writer at Liquid Web working with the Marketing team. He has 9+ years of experience in Technology. He obtained an Associate of Science in Computer Science from Prairie State College in 2015. He is happily married to his high school sweetheart and lives in Michigan with her and their children.

Latest Articles

Controlling PHP settings with a custom php.ini file

Read Article

How to install Puppet Server on Linux (AlmaLinux)

Read Article

Email security best practices for using SPF, DKIM, and DMARC

Read Article

Linux dos2unix command syntax — removing hidden Windows characters from files

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article