Wamp after the installation, MySQL password is empty, then how to modify it? Actually very simple, through a few instructions on the line, below I step by step to operate.
1. First, open the MySQL console via Wamp. Prompt for password, because it is now empty, so press ENTER directly.
2. Then enter "use MySQL", meaning "database changed" is used to indicate MySQL.
3. Then enter the SQL statement for the password you want to modify "update user set Password=password (' New password ') where user= ' root ';", note that the semicolon at the end of the SQL statement must not be small, prompting what is OK on the line.
4. Finally enter "flush privileges;", do not enter this, the operation of the password change will not be effective. Enter "Quit" to exit.
Restart Wamp, you can login with the new password.
wamp2.4--Set password password for MySQL in Wamp