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
Table of contents Scene Setting Game Resources Tu...
Async Hooks is a new feature of Node8. It provide...
Table of contents 1. Introduction 2. Introduction...
DOCTYPE Doctype is used to tell the browser which...
This article example shares the specific code of ...
This article example shares the specific code of ...
As a backend programmer, sometimes I have to tink...
The excellence of Linux lies in its multi-user, m...
Recently, we received a request for help from a c...
1. Question: I have been doing insert operations ...
<br />In HTML language, you can automaticall...
Ordered List XML/HTML CodeCopy content to clipboa...
1: readonly is to lock this control so that it can...
Table of contents Prerequisites DNS domain name r...
1. Check whether the existing nginx supports ipv6...