MySQL Download configuration

Source: Internet
Author: User

Download

: https://www.mysql.com/

Go to the MySQL official website, choose Downloads, here is the Community Edition (there is Community Edition and Enterprise Edition), which has the installation version also has the decompression version (installs the version according to the fifth step), here the download is the decompression version according to fourth step.

Here if there is an account directly login, not the first registration, about login registration is not explained, log in directly after the download on the line.

2 configuration

After extracting the directory, add the My.ini config file in the current directory

My.ini configuration content is as follows

[mysql]default-character-set=utf8[mysqld]port=3306character_set_server=utf8# Extract Directory Basedir=d:\develop\ mysql-5.7.19-winx64# Extract Directory Data directory datadir=d:\develop\mysql-5.7.19-winx64\data# allow maximum number of connections max_connections=200# The default storage engine that will be used when creating new Default-storage-engine=innodb  Sql_mode=no_engine_substitution,strict_trans_tables

Run the command prompt as administrator (otherwise it will fail), enter the command mysqld-install the bin directory of the MySQL decompression directory

At this point, the net start MySQL command cannot be run, at which time the service cannot start and needs to be initialized first

Input Initialization Command mysqld--initialize (note here is double--, cannot be omitted), and then in the Start MySQL service, enter net start MySQL

MySQL Download configuration

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.