Home > database >  Mysql - 5.7.26 - winx64 to download and install tutorial
Mysql - 5.7.26 - winx64 to download and install tutorial

Time:09-20

Download https://dev.mysql.com/downloads/mysql/5.7.html#downloads
Unzip the files to you want to install directory
My new. Ini file
The file content for
[client]
Port=3306
Default - character - set=utf8
[mysqld]
# set the mysql installation directory
Basedir=F/software/mysql:
# set the mysql data directory
Datadir=F/software/mysql/data:
Character_set_server=utf8
Sql_mode=NO_ENGINE_SUBSTITUTION, NO_AUTO_CREATE_USER
# open the query cache
Explicit_defaults_for_timestamp=true
Skip - grant - tables

Pay attention to the installation directory should according to their own situation to revise
Configure the environment variable variable name: MYSQL_HOME
Variable values for the position of the bin in mysql is my F: \ software \ mysql \ bin
Mysql is added in the path of the location of the bin is my F: \ software \ mysql \ bin
An administrator to enter a command prompt, in turn, enter into the mysql \ bin first
Input mysqld -- the initialize insecure after this command input will automatically generate data files
Mysqld - install
Net start mysql server startup
# because there is no initial password to
Set the password for 'root' @ 'localhost'=password (' to modify the password)
Mysql - uroot - p login password
Is success

CodePudding user response:

This tutorial is reliable? I tried a number of online before all can't install!

CodePudding user response:

reference 1st floor YXTS122 response:
this tutorial is reliable? I tried a number of online before all can't install!
of course

CodePudding user response:

reference 1st floor YXTS122 response:
this tutorial is reliable? I tried a number of online before all can't install!
note in add two environment variables: one is the path, and the other one is outside the new
My. The location of the ini the mysql inside to change to your own
Instructions as I knock above 123456 is to set your own password, you can switch to other password
One-time can pack good cough up!!!!!!
  • Related