How To Use MySQL DROP USER to Delete a User Account in MySQL

Summary: in this tutorial, you will learn how to use the MySQL DROP USER statement to remove one or more user accounts from the database.

Introduction to MySQL DROP USER statement

To remove a user account from the MySQL Server, you use the DROP USER statement as follows:

In this syntax, you specify the name of the user account that you want to remove after the DROP USER keywords.