How to Create a MySQL User on Linux via Command Line


In this video, we describe how to Create a MySQL User on Linux via the Commandline.

Commands used:
mysql -u root -p
create user ‘testuser’@’localhost’ identified by ‘somepassword’;
SELECT User,Host FROM mysql.user;

The related article for this article can be found here: https://www.liquidweb.com/kb/create-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:42
Publisher: Liquid Web
You can watch this video also at the source.