mysql set password

From thelinuxwiki
Jump to: navigation, search
MariaDB [(none)]> SET PASSWORD FOR 'username'@'localhost' = PASSWORD('xxxxxxx');
Query OK, 0 rows affected (0.04 sec)