Mysql not start under Windows 1067 Error Resolution:
Solving steps:
1. Locate your mysql installation directory, for example, mine is D: \ MySQL \ MySQL Server 5.5
2. Open the my.ini file
3. Locate #Path to the database root this line, the datadir = "C: / ProgramData / MySQL / MySQL Server 5.5 / Data /" modify the datadir under its own mysql installation directory = "D: / MySQL / MySQL Server 5.5 / Data / "
4. After the restart service can save input net start mysql with cmd, and then try it for yourself whether to start the service.
登录报错Access denied for user ‘root’@‘localhost’ (using password:YES)
Solving steps:
1. Turn off mysql service
2. Locate the my.ini file, add a line probably skip-grant-tables to save and exit line 67 [mysqld] under
3. Re-open cmd command line, use mysql;
4. Continue use mysql;
5.update user set password = password ( ' 888888') where user = 'root'; ( password 88888 password you want to) direct copy of the note in English symbol ....
6. Perform flush privileges; refresh permission
7. Perform exit; quit mysql
8. Close the command line to restart mysql
9. In the execution mysql -u root -p enter just reset the password, successful landing! !