How to delete MySQL/MariaDB user -

If you have an outdated or unused account in your MySQL or MariaDB database, it's best to get rid of it. Having even one extra user is an additional vulnerability and attack surface in the database. In this guide, we'll show you the step by the step instructions to delete a specific user from a MySQL or MariaDB database from the command line on a Linux system.

This is a companion discussion topic for the original entry at