Table of contents Download the compressed file Address: https://dev.mysql.com/downloads/mysql/ Unzip the zip file and create the my.ini file Directory after decompression: Data Directory: Create a my.ini file with the following contents: [mysql] # Set the default character set of the mysql client to default-character-set=utf8 [mysqld] # Set port 3306 port=3306 # Set the installation directory of mysql to basedir=D:\mysql-8.0.13-winx64 # Set the storage directory of mysql database data datadir=D:\mysql-8.0.13-winx64\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 Configuring environment variables Add in path Run the command prompt with administrator privileges Enter the decompressed directory and execute the following commands in sequence: bin\mysqld --defaults-file=my.ini --initialize-insecure Enter the bin directory and execute the command Set password Enter the bin directory and execute the command You will be prompted to enter a password. Press Enter directly without entering any password. Update password ('password' can be set according to personal habits, such as '123456', etc.) use mysql; select host,user,authentication_string,plugin from user; alter user 'root'@'localhost' identified with mysql_native_password by 'password'; Setting up remote access permissions update user set host='%' where user='root'; flush privileges; exit; Restart the service and test Execute the command in the bin directory net stop mysql net start mysql Summarize The above is the configuration tutorial of MySQL 8.0.13 free installation version under Windows environment introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: How many common loops do you know about array traversal in JS?
>>: Detailed explanation of how to build phalcon environment under nginx server on centos7 system
1. Same IP address, different port numbers Virtua...
Table of contents Tutorial Series 1. Introduction...
<br />Original URL: http://www.lxdong.com/po...
background I talked to my classmates about a boun...
For several reasons (including curiosity), I star...
Table of contents Since Vuex uses a single state ...
Table of contents 1. Scopes are expressed in diff...
This article mainly introduces the breadcrumb fun...
This article shares the specific code of javascri...
React originated as an internal project at Facebo...
Table of contents 1. Installation 2. Import 3. De...
Table of contents Scenario Effect Code Summarize ...
Preface The most widely used database in Linux is...
1. es startup command: docker run -itd -e TAKE_FI...
1. Statistics of PV and IP Count the PV (Page Vie...