MySql installation -1.MySql of learning:

1. Download installation package (mysql-v5.7.25) (NavicatforMySQL_11.2.15):

Link: https: //pan.baidu.com/s/166hyyYd3DMjYhMwdW805FA
extraction code: 18cj
copy the contents of this open Baidu network disk phone App, the operation more convenient oh

2. Installation (two directly after the installation package is downloaded directly next installation, this will primarily behind omitted. MySQL-v5.7.25 subsequent operation):

  2.1 Run as Administrator cmd window:

            

        2.2 the position of the switching to the MySQL installation path bin directory under;

  2.3  Display data files:

    Enter mysqld --initialize-insecure bin directory (the previous version 5.7 is different from, data folders need to refresh it in the next initialization).

  2.4   Start the server:

    Enter install mysqld (display Service successfully installed, description of the service has been successfully installed.) (Removal of the words mysqld -remove)

   2.5   start the service:

    Enter net start mysql in the bin directory and then press Enter, wait a moment will show service has started successfully. (Enter net stop mysql closing service)

  2.6  Log database:

    Enter mysql -uroot in the bin directory (you can set your own password required) (need to enter the database Enter exit to exit before they can withdraw, can not directly close the command prompt is closed, the database is still running in the background.)

   ** Note **: you can open the Task Manager service on or turn off service. I have here a database is no password.

   

 

Guess you like

Origin www.cnblogs.com/xiao-yu-/p/12335503.html