Mysql5.7.19 winx64 decompressed installation and configuration tutorial, mysql5.7.19winx64
The installation tutorial for mysql 5.7.19 winx64 decompressed version is recorded as follows:
System Environment: Win7 x64
Software preparation: MySQL 5.7.19 winx64
Download URL: https://dev.mysql.com/downloads/mysql/
Configuration and installation process
The specific installation is as follows:
1. decompress the mysql-5.7.19-winx64.zip compressed file to the C: \ MySQL \ directory;
2. Create the my. ini configuration file in the C: \ MySQL \ directory;
3. Open the my. ini file in a text editor or another Editor, copy and paste the following code, save and exit;
# Code start [Client] # Set port 3306 port = 3306 [mysqld] # Set port 3306 = 3306 # Set mysql installation directory basedir = C: \ mysql # Set the data storage directory of the mysql database datadir = C: \ mysql \ data # maximum number of connections max_connections = 200 # The default character set used by the server is the 8-bit latin1 character set character-set-server = utf8 # default storage used when creating a new table engine default-storage-engine = INNODBsql_mode = NO_ENGINE_SUBSTITUTION, STRICT_TRANS_TABLES [mysql] # set the default character set of the mysql client default-character-set = utf8 # End of code
4. Configure environment variables;
4.1 create a system variable MYSQL_HOME and set the variable value to C: \ mysql;
4.2 edit the Path of the system variable and add % MYSQL_HOME % \ bin to the end of the Path variable value.
5. Run the command prompt cmd as an administrator (Be sure to run it as an administrator, otherwise the permission is insufficient );
5.1 use dos commands to enter the C: \ mysql directory and run the following commands
mysqld --defaults-file=my.ini --initialize-insecuremysqld --installnet start mysql
5.2 set the mysql root Password and run the following command
Mysql-u root-puse mysql; update user set authentication_string = password ('your password') where user = 'root'; flush privileges; exit
So far, Mysql 5.7.19 winx64 decompression configuration installation has been completed! Wish you success!
Highlights: mysql installation tutorials for different versions mysql5.7 installation tutorials for various versions mysql5.6 installation tutorials
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.