Change a Password for MySQL on Linux via Command Line

73 Views
Published
In this video, we describe how to change a password for a MySQL user via the command line.

Commands used:
mysql -u root -p
use mysql;
update user set password=PASSWORD('password') where User='root';
flush privileges;
type quit, then enter

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

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/
To learn more about our private cloud offerings, visit:
https://www.liquidweb.com/products/private-cloud/

Video by: Justin Palmer
Category
Liquid Web
Tags
liquidweb, datacenter, web
Be the first to comment