WIN10 MySQL Installation service

Source: Internet
Author: User

mysql5.7 Version Installation steps
1, in the MySQL installation directory to create a new My.ini file, paste the following content, the content of MySQL according to the directory and data storage directory modified to the actual path in their own computer.

[mysql]# 设置mysql客户端默认字符集default-character-set=utf8 [mysqld]#设置3306端口port = 3306 # 设置mysql的安装目录basedir=C:\Program Files\MySQL\MySQL Server 5.7# 设置mysql数据库的数据的存放目录datadir=C:\Program Files\MySQL\MySQL Server 5.7\data# 允许最大连接数max_connections=200# 服务端使用的字符集默认为8比特编码的latin1字符集character-set-server=utf8# 创建新表时将使用的默认存储引擎default-storage-engine=INNODB

2. Right-click to open DOS with administrator privileges, enter the MySQL installation path, enter the following command:
Mysqld--initialize
The system will automatically generate a data storage directory and then enter

Mysqld Install #注册mysql服务

net start MySQL # start MySQL service

WIN10 MySQL Installation service

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.