MySQL free install version download and configuration tutorial

Source: Internet
Author: User
Tags mysql free

First step: Download
: http://dev.mysql.com/downloads/mysql/
Scroll to the bottom to see, according to their own needs to download;
My Computer for 64 is so downloaded for Windows (x86, 64-bit), ZIP Archive this version;



Download it and unzip it to the place you want to put it;

Step Two: Configure
1: Configure the Bin folder of the root directory to the path environment variable (Baidu is not known);
my: D:\Program files\mysql-5.7.16-winx64\bin configuration to environment variables just fine;

2: Modify or duplicate a copy of the my-default.ini file and rename it to My.ini;
In the corresponding location, modify add the following code:

 [mysql] #设置mysql客户端默认字符集  default - Character-set  =utf8;[ MYSQLD] #设置3306端口port  =3306  ;# Set the installation directory for MySQL basedir  =d:\program files\mysql-5.7 . 16 -winx64;# set the data storage directory for the MySQL database datadir  =d : \program Files\mysql-5.7 . 16 -winx64\data;# allow maximum number of connections max_connections  =200  ;# the character set used by the service side defaults to a 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; 

3: At the command prompt, enter

mysqld --install MySQL --defaults-file="my.ini"

Install MySQL and set "My.ini" as the configuration file. Tip "Service successfully installed." Indicate success;

4: At the command prompt, enter

mysqld  --initialize

First initialize the data directory, before the 5.7 version is not required this step, 5.7 start to initialize the data directory, after initialization you will find the root directory more than a data folder;

5: Enter the net start MySQL at the command prompt to start MySQL, prompting the service to start successfully;

Original Portal: please click:

MySQL free installation download and configuration tutorial

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.