Recorded the installation tutorial of mysql 5.7.19 winx64 decompression version, the specific content is as follows System environment: Win7 x64 Configuration and installation process The specific installation is as follows: 1. Unzip the mysql-5.7.19-winx64.zip compressed file to the C:\MySQL\ directory; #Code start [Client] #Set port 3306 port = 3306 [mysqld] #Set port 3306 port = 3306 # Set the installation directory of mysql to basedir=C:\mysql # Set the storage directory of mysql database data datadir=C:\mysql\data # Maximum number of connections allowed max_connections=200 # The default character set used by the server is the 8-bit latin1 character set character-set-server=utf8 # The default storage engine that will be used when creating a new table default-storage-engine=INNODB sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES [mysql] # Set the default character set of the mysql client to default-character-set=utf8 #End of code 4. Configure environment variables; 4.1. Create a new system variable MYSQL_HOME and set the variable value to C:\mysql; 5. Run the command prompt cmd as an administrator (it must be run as an administrator, otherwise the permissions are insufficient); 5.1. Use the DOS command to enter the C:\mysql directory and run the following command mysqld --defaults-file=my.ini --initialize-insecure mysqld --install net start mysql 5.2. Set the root password of mysql and run the following command mysql -u root -p use mysql; update user set authentication_string=password('your password') where user='root'; flush privileges; exit At this point, the configuration and installation of the MySQL 5.7.19 winx64 decompression version has been completed! I wish you success! Wonderful topic sharing: MySQL different versions installation tutorial MySQL 5.7 installation tutorials for various versions MySQL 5.6 installation tutorials for various versions mysql8.0 installation tutorials for various versions The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: How to import js configuration file on Vue server
>>: Example of how to upload a Docker image to a private repository
Nginx is configured with the same domain name, wh...
This article shares the specific code for WeChat ...
Table of contents 1. Master-slave synchronization...
1. Introduction Nginx is a free, open source, hig...
The question arises This question arose when I wa...
How to use the code in NetEase Blog: First log in...
Simple application deployment 1. Directory struct...
1. Unzip the zip package to the installation dire...
Table of contents 1. Let’s start with the conclus...
Table of contents 01 Introduction to GTID 02 How ...
Table of contents A pitfall about fileReader File...
WeChat applet: Simple calculator, for your refere...
1. Tcl script file circle.tcl code comments #Set ...
I usually like to visit the special pages or prod...
Table of contents Achieve results Complete code +...