Websitetemplate.org

Welcome > MySQL > MySQL: Change Old Password

MySQL: Change Old Password

$ mysql -uUSER -hHOST -pPASS
mysql> SET PASSWORD FOR username@localhost=PASSWORD('new_password');

- or -

$ mysqladmin -u username password new_password

Ref: http://www-css.fnal.gov/dsg/external/freeware/mysqlAdmin.html

Content Copyright 2003-2014 George Toft