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
This is to commemorate the 4 pitfalls I stepped o...
Disk quota is the storage limit of a specified di...
Table of contents Basic Selector Extensions Attri...
Table of contents 1. View the storage engine of t...
Pull the image docker pull season/fastdfs:1.2 Sta...
Table of contents Getting Started with MySQL MySQ...
1. Add skip-grant-tables to the my.ini file and r...
1. Components and implemented functions Keepalive...
Chapter 1: Introduction to keepalived The purpose...
Preface This article uses the new features of MyS...
This article introduces a framework made by Frame...
Table of contents System update configuration Cha...
Table of contents 1 Java environment configuratio...
First of all, what is 404 and soft 404? 404: Simpl...
p>Manually start in "Services" and i...