mysql:change_passwords
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mysql:change_passwords [2016/10/13 23:01] – created peter | mysql:change_passwords [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 8: | Line 8: | ||
mysql> flush privileges; | mysql> flush privileges; | ||
</ | </ | ||
+ | |||
+ | You may accomplish the same task with mysqladmin MySQL command. | ||
+ | |||
+ | <code bash> | ||
+ | $ mysqladmin -u root password ' | ||
+ | </ | ||
+ | |||
+ | If you wish to change existing root password, you'll use the following command instead. When entered, you'll be prompted for current root password. | ||
+ | |||
+ | <code bash> | ||
+ | $ mysqladmin -u root -p password ' | ||
+ | </ | ||
+ | |||
+ | **NOTE**: | ||
+ | |||
+ | |||
+ | |||
+ |
mysql/change_passwords.1476399690.txt.gz · Last modified: 2020/07/15 09:30 (external edit)