Saturday, February 4, 2017

Changing the root password for MySQL

I need to change my root password on mySQL.

First I get the command line:

mysql -u root -p

It took a while to find, but here's the magic incantation to change the password:

MariaDB [(none)]> set password = password('xxxx')