MySql8.0 detailed installation record file download

  1. The first step is of course to download the installation package first! (Download address https://download.csdn.net/download/xiaohaigary/12985361)

  2. Unzip the file mysql-8.0.15-winx64

  3. Put the my.ini file in the unzipped directory
    Insert picture description here

  4. Modify the mysql path
    Insert picture description here

  5. Configure the bin path to the environment variable
    D:\Program\mysql\mysql-8.0.15-winx64\bin

  6. Administrator permission cmd enter the bin directory to run, initialize mysql
    a. mysqld --initialize --console and record the temporary password
    b. mysqld install
    c. net start mysql start

Deamon means the guardian deity, which means the daemon process. mysqld is the server side of mysql, which is a server-side program based on socket

  1. Connect
    a. mysql -u root -p
    b. Modify the password: alter user root@localhost identified by '970520';

Guess you like

Origin blog.csdn.net/xiaohaigary/article/details/109187323