install mysql error resolved not find msvcp120.dll "

For a new computer, reinstall a bit mysql, the installation process there have been some mistakes, and then look at this record:

Reference rookie Tutorial: https://www.runoob.com/mysql/mysql-install.html

1, download mysql 5.7.27 zip unzip

2, generate my.ini  configuration file, follow the tutorial fill in the content.

3, Run as Administrator cmd, enter the bin directory, execute  mysqld - the initialize - Console, this time error " can not find msvcp120.dll"  , in https://www.microsoft.com/zh-CN/download/ details.aspx? id = 40784  downloading, you can specify the installation directory.

4, the above command is executed again, given  TIMESTAMP with the DEFAULT value IS Implicit deprecated. Please use --explicit_defaults_for_timestamp Server Option (See More Details for Documentation , in my.ini plus the explicit_defaults_for_timestamp = true can.

5, install mysql service  mysqld install

6, start mysql service  net start mysql

7. Log on, MySQL - U root - the p-

8, Change Password: https://blog.csdn.net/kaitu/article/details/78994893  follow the tutorial change the password, the password modification instructions should be modified when

update mysql.user set authentication_string=password('123456') where user='root';

如果出现:You must reset your password using ALTER USER statement before executing this statement.错误
则参考:https://blog.csdn.net/hj7jay/article/details/65626766

9, navicat use database links:

Navicat link directly, as if the error occurred in the connection:

 Is a reference to the connection, SET PASSWORD = PASSWORD ( '123456'); change password.

 

Guess you like

Origin www.cnblogs.com/simpleDi/p/11441595.html