DatabaseMySQL Quick Tip: Using the DROP USER Command

MySQL Quick Tip: Using the DROP USER Command

MySQL Database Tutorials

There are instances where a database administrator or developer will need to remove a user from an application to ensure compliance, protect sensitive data, or for security reasons, such as if an employee has left an organization. Removing a user from a database is simple with MySQL, which provides db admins with the DROP USER command for just such an occasion.

The syntax of the DROP USER command in MySQL is pretty straightforward. To remove a user from a database in MySQL, just use the following command:

DROP USER 

Read: Using the MySQL DAYOFWEEK Function

Latest Posts

Related Stories