MySQL free install version of the problem and the response

Source: Internet
Author: User
Tags mysql client mysql free

Create a new My.ini in the corresponding directory

[mysql]# set MySQL client default character setdefault-character-Set=UTF8 [Mysqld]skip-grant-tables# setting Port 3306=3306# Set up the MySQL installation directory Basedir=d:\mysql-5.7.Ten-winx64# Set the data storage directory for the MySQL database DataDir=d:\mysql-5.7.Ten-winx64\data# Maximum number of connections allowed Max_connections= $# The default character set used by the server is a 8-bit encoded latin1 character Set character-Set-server=utf8# default storage engine to use when creating a new tabledefault-storage-engine=innodb

Note in the cmd input net start mysql if MySQL does not start, first look at the installation directory there is no data this folder, if there is no

In cmd input mysqld--initialize (Initialize)

It should be OK at startup. --Be careful to enter the Bin folder of your installed directory to operate!!

MySQL free install version of the problem and the response

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.