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
ask: I have styled the hyperlink using CSS, but i...
This article shares the specific code for impleme...
This article shares the specific code of JavaScri...
1. 85% of ads go unread <br />Interpretatio...
After I finished reading JavaScript DOM, I had a ...
Table of contents Problem description: Solution 1...
The following demonstration is based on MySQL ver...
During the project optimization today, MySQL had ...
Preface I looked at the previously published arti...
Table of contents Overview 1. Acquisition and pro...
This article records the installation and configu...
Generate a certificate chain Use the script to ge...
definition Calcite can unify Sql by parsing Sql i...
1. Demand The base has 300 new servers, and needs...