How to Remove a MySQL User on Linux via the Command Line


In this video, we describe how to remove a MySQL user on Linux via the command line.

Commands used:
mysql -u root -p
select user,host from mysql.user;
drop user ‘testuser’@’localhost’;
select user,host from mysql.user;

The related article for this article can be found here: https://www.liquidweb.com/kb/remove-a-mysql-user-on-linux-via-command-line/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or
To learn more about our Private Cloud Powered by VMware and NetApp, visit: https://www.liquidweb.com/products/private-cloud/

Video by: Justin Palmer


Duration: 00:01:47
Publisher: Liquid Web
You can watch this video also at the source.


Join Us