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!