1. Download from official website:https://dev.mysql.com/downloads/ Find MySQL Community Server and click Click download, you can choose the download path, I downloaded it in the D drive: After downloading, you need: [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:\java web\mysql\mysql-8.0.27-winx64 #Set the storage directory of mysql database data datadir=D:\java web\mysql\mysql-8.0.27-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 (Excerpt from notes) Create a new data folder and create the same directory as bin: store data 2. After installation: Configure environment variables:Mine is: D:\java web\mysql\mysql-8.0.27-winx64 In the settings of this computer, open the advanced properties environment variables: Configured: Open the cmd command prompt as an administrator: Type: mysqld install 3. Start and shut down the server You can also: You can also: Find mysql in the service and start it manually 4. Log in to MySQL server
5. Change password: Enter in mysql The password is: your-password This is the end of this article about the installation, configuration, startup and shutdown methods of the MySQL server. For more relevant MySQL installation and configuration content, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: What is em? Introduction and conversion method of em and px
>>: Detailed explanation of overflow:auto usage
Horizontal Line Use the <hr /> tag to draw ...
In the interview, you should have experienced the...
Preface When we use query statements, we often ne...
With the continuous development of the Internet ec...
Nginx can generally be used for seven-layer load ...
The div element is used to provide structure and b...
Table of contents 1. Install dependencies 2. Conf...
MySQL Bin log data recovery: accidentally delete ...
Docker Compose is a Docker tool for defining and ...
The DATE_ADD() function adds a specified time int...
Preface Sometimes when hover pseudo-class adds a ...
In the process of web project development, we oft...
Table of contents 1. Install the psutil package S...
Here is a common one-click performance test scrip...
This article example shares the specific implemen...