Check to see if the MySQL service can be turned on to ensure that the MySQL service is up and running.
Step one: unzip your mysql to the C packing directory
The second step: (after extracting into the directory, find the Install.bat file, open with Ediplus, find--install MySQL and net start MySQL, two MySQL must be the same) into the cmd command, You do not have to configure the environment variable to manually switch to the Mysql\bin directory under the CD command to enter
Step three: use the command to log in to MySQL (mysql-localhost-u root) and enter the original password.
Fourth step: mysql>use MySQL; #选择mysql数据库.
Fifth step;mysql>set password for connection name =password (' New password '); (OK ... Mysql\q end)
myqsl> prompt successful Mysql>flush privileges; mysql> prompt Successful Mysql>quit (launched)
Sixth step: new login mysql mysql>mysql-h localhost-u root-p
Enter password; Type a new password
Seventh step;mysql>show databases;
Carry Q
End
Change password for MySQL