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: