How to Drop User in MySQL Server - MySQL DBA Tutorial

Drop User in MySQL Server

To drop user in MySQL Server , you can use below statement


MySQL > Drop User 'UserName'@'HostName';

Let's say if you would like to drop user Aamir that you have created in Localhost, you can use below statement


MySQL > Drop user 'Aamir'@'Localhost'; 


MySQL Training - How to drop user in MySQL Server from MySQL command line

1 comment: