Download, install, and start the Mysql service in mysql 5.7.18, 5.7.18mysql

Source: Internet
Author: User

Download, install, and start the Mysql service in mysql 5.7.18, 5.7.18mysql

The MySQL Community Server5.7.18 distribution package does not contain the. ini file and does not initialize the data directory. Therefore, the installation, configuration modification, and configuration tutorial of earlier versions on the Internet is not applicable.

Step 1: download from the official websiteHttps://dev.mysql.com/downloads/mysql/

Decompress the package

Step 2: now configure Environment Variables

Create a new system variable named MYSQL_HOME. The path is the file path after decompression (remember to go to bin)

Add; % MYSQL_HOME % \ bin to path

Step 3: Select cmd.exe from C: \ Windows \ System32 \ cmd.exeand run it as an administrator.

Cd to file path, such as D: \ SQL server \ MySQL \ mysql-5.7.18-winx64 \ bin

Enter mysqld-initialize-insecure to generate the data directory

Because there is no. ini file, you can use mysqld-verbose-help to view the configuration (you can also run this command without executing this command)

Input mysqld-install to load the Service (because I installed it again, it is different from the result of the first installation, hhhh)

Enter net start mysql to start the service

Enter mysql-u root-p to initialize the database without a password. Press enter to enter the database.

1. There is a Chinese manul, but it is only required for conversion of Version 5.1.

Http://tool.oschina.net/apidocs/apidoc? Api = mysql-5.1-zh

2. The official website version 5.7 manul has Tutorial in full English, and Chinese has been downloaded on csdn, but I can't get enough currency. It's okay. I can hold it in English.

Https://dev.mysql.com/doc/refman/5.7/en/tutorial.html

I will share with you several topics. For more information, see.

Mysql installation tutorial http://www.bkjia.com/Special/917.htm in various systems

MySql database getting started tutorial http://www.bkjia.com/Special/643.htm

MySQL database operation knowledge summary http://www.bkjia.com/Special/635.htm

The preceding section describes how to download, install, and start the Mysql service in mysql 5.7.18. If you have any questions, please leave a message, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!

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.