mysql-5.7.27-winx64 free installation configuration

1. Unzip the downloaded file to a custom location:

D:\Program Files\mysql-5.7.27-winx64

2. In the extracted directory, create a new my.ini file, as follows:

[mysql]
default-character-set=utf8
[mysqld]
port=3306
basedir="D:\Program Files\mysql-5.7.27-winx64"
datadir="D:\Program Files\mysql-5.7.27-winx64\data"
max_connection=200
character-set-server=utf8
default-storage-engine=INNODB

(Configuration may increase their own)

3. configure the environment variables, as follows:

This computer (win10) -> Properties -> Advanced System Settings -> Environment Variables -> Path, add "custom location \ bin", such as D: \ Program Files \ mysql-5.7.27-winx64 \ bin

4. Enter the following command cmd in the administrator mode or PowerShell:

5. After a successful start, visit:

The initial password is no, I am here to 123456

7. Log back:

Guess you like

Origin www.cnblogs.com/cedriccheng/p/11582335.html