Enter one of the following, replacing
theNEWpassword with the password you want to use (
Figure 2.28):
bin\mysqladminu root password 'theNEWpassword' (Windows)
or
./bin/mysqladmin u root password 'theNEWpassword' (Mac OS X and Unix)
Keep in mind that passwords within MySQL are case-sensitive, so
Kazan and
kazan are not interchangeable. The term
password that precedes the actual quoted password tells MySQL to encrypt the password that follows.