Mysql5.6.24 Zip Decompression version Configuration and modify the default encoding method

Source: Internet
Author: User

Win64 bit:

http://dev.mysql.com/downloads/file.php?id=456319

Unzip after download is complete

Configuring Environment variables

After path, add MySQL after decompression bin folder location such as D:\Program Files\mysql-5.6.24\mysql-5.6.24-winx64\bin

Configure My-default.ini

# basedir = D:\Program files\mysql-5.6.24\mysql-5.6.24-winx64

# DataDir = D:\Program Files\mysql-5.6.24\mysql-5.6.24-winx64\data

Installation Services

Open cmd as administrator enter the directory where the bin is entered Mysqld-install

The prompt after successful installation is service successfully installed.

Modifying the default encoding

Duplicate a copy of My-default.ini rename to My.ini Open

Under [Mysqld], add:

Character_set_server=utf8

Under Sql_mode=no_engine_substitution,strict_trans_tables, add:

[Client]

port=3306
Default-character-set=utf8

Start/Stop Service

NET Start/stop MySQL

Go to MySQL

Mysql-u root//initial password is empty

Mysql5.6.24 Zip Decompression version Configuration and modify the default encoding method

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.