-Start->Run
-enter command prompt
-type command for win95/98
-otherwise type cmd
-Browse to C:\Program Files\MySQL\MySQL Server 4.1\bin
-type mysql -u root -p
-password: your-password(press enter)
Reset the password to pre-4.1 style for each user that needs to use a pre-4.1 client program. This can be done using the SET PASSWORD statement and the OLD_PASSWORD() function:
mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('your_pass')
-> WHERE Host = 'localhost' AND User = 'root';
mysql> FLUSH PRIVILEGES;
mysql>\q
=============End Section==============
Assign an old-format password to each account that has had its password updated to the longer 4.1 format. You can identify these accounts with the following query:
-In C:\Program Files\MySQL\MySQL Server 4.1\bin
-Type mysqladmin -u root -p shutdown, enter password
-Type NET START MySQL
-type mysql -u root -p, enter password
mysql> SELECT Host, User, Password FROM mysql.user
-> WHERE LENGTH(Password) > 16;
->\q