MySQL zip file installation

Source: Internet
Author: User
Tags mysql client

1. Download

https://dev.mysql.com/downloads/mysql/

2. Unzip, configure environment variables

Mysql_home:d:\mysqlpath back add:%mysql_home%\bin 3.Add File My.ini file, Data folder
[mysql]# set MySQL client default character set Default-character-set=utf8[mysqld] #设置3306端口port = 3306# Set the installation directory for MySQL basedir=d:\mysql5.7# Set the data storage directory for the MySQL database datadir=d:\mysql5.7\data# the 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

4. under the Bin folder of the installation directory , run cmd as an administrator, such as D:mysql\bin, then initialize the database and remember the assigned password

Mysqld--initialize--user=mysql--console

5. Installation Start-up

Mysqld--install MySQL

net start MySQL

Note: If the system is missing the Msvcp120.dll file at startup, download the C + + 2013 Library

Address: https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=40784

6. Change the password

SET PASSWORD = PASSWORD (' your password ');

MySQL zip file installation

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.