Windows64 bit installation mysql-5.7.12, graphic

Source: Internet
Author: User
Tags mysql client mysql tutorial

Linux installation MySQL tutorial a large, I will not say, and then how to install this 5.7 version of Windows, and some pits have stepped on!

One: Enter mysql:http://www.mysql.com/downloads/, click community

Two: Select the next version of Windows

Three: Choose Installer

Four: To this interface, there is a direct installation of the package, 32 students see here download finished directly installed can, the back of the Don't look

Five: We want to install the 64-bit server side, select MySQL server

Six: After clicking, select 64-bit free install version

Seven: Click Download, when the jump page to login or register, here is just download, so I chose no

Eight: Download the installation package, wait for the process, OK, after a short wait, download complete, unzip first, simple, extract to D-disk, D:\mysql-5.7.12-winx64

Environment variables can be set here (this will not be checked online), put D:\mysql-5.7.12-winx64\bin in Path

Nine: With some online tutorials, new files in D:\mysql-5.7.12-winx64: My.ini, Content:

[MySQL]
# Set the MySQL client default character set
Default-character-set=utf8
[Mysqld]
#设置3306端口
Port = 3306
# set up the MySQL installation directory can be modified here
Basedir=d:\mysql-5.7.12-winx64
# Set up a storage directory for MySQL database data, which can be modified here
Datadir=d:\mysql-5.7.12-winx64\mydata
# Maximum number of connections allowed
max_connections=200
# The character set used by the service side defaults to the 8-bit encoded latin1 character set
Character-set-server=utf8
# The default storage engine that will be used when creating a new table
Default-storage-engine=innodb

Ten: The key step, this step is a big pit, need to initialize first!!! Press the Win key, enter CMD, open the DOS command window, enter: Mysqld--initialize, return

11: Wait for initialization to complete, input mysqld install MySQL--defaults-file= "D:\mysql-5.7.12-winx64\my.ini", enter

12: Install complete, enter command net start MySQL, finish the work.

Windows64 bit installation mysql-5.7.12, graphic

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.