MySQL Database installation---decompression version

Source: Internet
Author: User

1. Login official website http://dev.mysql.com/downloads/mysql/Download the installation package (MySQL installation package is divided into two types, one is MSI format, one is the zip format)

Note: MSI format is not described here, just next can be installed

2. Unzip the installation package to the local directory, D:\Program files\mysql-5.7.12-winx64

3. Configure environment variables, append MySQL bin directory to environment variable eg. PATH = ...;D: \program Files\mysql-5.7.12-winx64\bin

4. Modify the configuration file, D:\Program Files\mysql-5.7.12-winx64\my-default.ini or add My.ini

  

5. Installing the MySQL Service

CD/D D:\Program Files\mysql-5.7.12-winx64\bin

Mysqld-install (mysqld-remove removal Service)

6. Start the MySQL service

net start MySQL (net stop MySQL stop service)

7. Log in to MySQL

Mysql-hlocalhost-uroot-p

  

Note:

MySQL inserted Chinese characters garbled, can be referenced as, set the coded character set:

Specific modification method:

MySQL Database installation---decompression version

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.