Get the App
SLTechnology News&Howtos  ›  Database  › 

Detailed tutorials on installation and configuration of MySQL installation Free Edition (zip)

Shulou Source: shulou.com Published: 2022-06-01 04:06:32 10月03日 Update

This article shares the installation and configuration tutorial of MySQL installation Free Edition (zip) for your reference. The details are as follows

Download from 1.MySQL official website

two。 What will be downloaded

Extract to D:\ mysql-5.7.22-winx64

3. Create a new my.ini in the D:\ mysql-5.7.22-winx64 directory and write the following code: (be careful to change your own in D:\ mysql-5.7.22-winx64)

[mysqld] # set mysql installation directory basedir=D:\ mysql-5.7.22-winx64# set mysql database data storage directory, must be datadatadir=D:\ mysql-5.7.22-winx64\ data# mysql port port=3306# character set character_set_server=utf8sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

4. Open the DOS command line (win+R, enter cmd), go to D:\ mysql-5.7.22-winx64\ bin, and execute the command mysqld-install mysql

5. Initialize, mysqld-- initialize-insecure. After initialization, data will appear in the D:\ mysql-5.7.22-winx64 directory

6. Start the service, net start mysql

7. Log in to MySQL. The default password is empty. Enter directly.

8. Modify the password

Over!

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Tags: Directories contents commands passwords data tutorials configurations codes characters character sets that is databases ports references learning help support services login input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Shulou Technology MySQL Apple Docker