Mysql5.7.19 winx64 installation and configuration method graphic tutorial (win10), winx64win10

Source: Internet
Author: User

Mysql5.7.19 winx64 installation and configuration method graphic tutorial (win10), winx64win10

The following is a record of the mysql 5.7.19 winx64 installation tutorial.

Step 1

Https://dev.mysql.com/downloads/mysql/

Select manual download version

Decompress the package to the specified path.

 

The my. ini and data folders in are not found in the compressed package, and you need to add them yourself later.

My. iniCopy directly ~

[Client] port = 3306default-character-set = utf8 [mysqld] # Set to your own MYSQL installation directory basedir = D: \ Mysql \ mysql-5.7.19-winx64 # Set to mysql data directory datadir = D: \ Mysql \ mysql-5.7.19-winx64 \ dataport = 3306character_set_server = utf8sql_mode = NO_ENGINE_SUBSTITUTION, NO_AUTO_CREATE_USER # enable query cache fig _ defaults_for_timestamp = trueskip-grant-tables

Create a data folder under the Directory

Step 2

Set Environment Variables
Computer> Properties> Advanced System Properties> Environment Variables
Create in Path of system variable (% MYSQL installation directory % \ bin)

Step 3

Go to the bin folder under the Mysql installation directory, whereOpen cmd as an administrator

Execute mysqld-initialize-insecure

This command is used to make the data directory have a normal mysql folder and related files.

IfError:Found option without preceding group in config file: D: \ mysql\ mysql-5.7.19-winx64 \ my. ini at line: 1

The solution is to save my. ini in ANSI format.

Then execute the following commands (Administrator mode) in sequence ):

mysqld install net start mysql

If you need to change the password, enter:

set password for root@localhost = password(‘123456');

Step 4

Finished ~
Try mysql-u root-p login ~

Highlights: mysql installation tutorials for different versions mysql5.7 installation tutorials for various versions mysql5.6 installation tutorials

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.