当前位置:网站首页>Download and installation of MySQL
Download and installation of MySQL
2022-06-29 02:19:00 【Long street 395】
Let's start with MySQL Download link for :
Official download website :MySQL :: MySQL Downloads

choice DOWNLOADS, find MySQL Community (GPL) Downloads »

And find

2. Go to download page
- Download and installation types are divided into MSI( Installation package ) and ZIP Two kinds of , Here's the picture

And then download it directly :

I am used to decompressing to E disc , After changing the path , Click on 【 determine 】 Here's the picture :

To configure
Go to the unzip directory in the previous step (E:\mysql-8.0.22-winx64) Next :
1) Create a my.txt Text file for configuration .
2) establish data file , For future storage MySQL data .
Copy the following code to my.txt In the text file **( You need to put... In the code basedir and datadir Change the path to your own path )**, take my.txt Rename file to my.ini file
[mysql]
# Set up mysql Client default character set
default-character-set=utf8
[mysqld]
# Set up 3306 port
port = 3306
# Set up mysql Installation directory
basedir=E:\mysql-8.0.22-winx64
# Set up mysql Database data storage directory
datadir=E:\mysql-8.0.22-winx64\data
# Maximum connections allowed
max_connections=200
# The character set used by the server defaults to UTF8
character-set-server=utf8
# The default storage engine that will be used when creating a new table
default-storage-engine=INNODB
Right click 【 Lower left corner win】 Run as administrator Windows PowerShell, You can also run as an administrator cmd, Here I use win10 Of Windows PowerShell.
Jump to MySQL Under the directory of
1) Created before initialization data file , Not set root password
.\mysqld --initialize-insecure
2) install MySql service
.\mysqld -install
If you make a mistake , Please check for yourself bin Under the document exe, Same as the previous step
3) see MySQL Whether the service is on
services.msc

4) Start the service
net start mysql

边栏推荐
- “内窥镜第一股”二闯IPO,去年亏损5个亿,核心产品商业化仍存疑 | IPO速递
- 基于 RISC-V SoC 的可配置 FFT 系统设计(1)引言
- 基于 FPGA 的 RISC CPU 设计(4)关于项目的 36 个问题及其答案
- 【Redis】Key的层级结构
- 在按钮禁用时消除hover效果
- OpenResty 使用介绍
- 数字 IC 设计、FPGA 设计秋招笔试题目、答案、解析(1)2022 紫光展锐(上)
- SystemVerilog-结构体(一)
- How to become a senior digital IC Design Engineer (6-6) digital IC Verification: system level simulation
- HashSet storing objects and how to not store the same objects
猜你喜欢

Talk about the copyonwritearraylist of JUC

Target detection - ADAS practice

【Redis】Hash类型

Boost the digital economy and face the future office | the launch of the new version of spreadjsv15.0 is about to begin
![[redis] set type](/img/97/0a83016e89316849c01072044f2124.png)
[redis] set type

The left toolbar of hbuilder is missing

Project R & D, what are the free brain mapping tools that are easy to use
![[redis] data introduction & General Command & string type](/img/86/3abc5047f9c0a051f432e82ccc816c.png)
[redis] data introduction & General Command & string type

I have summarized some experiences from the whole process of R & D platform splitting
![[understanding of opportunity -33]: seeing is not necessarily true. Most of the time,](/img/60/703a5bc3038d28bcf812415032f240.jpg)
[understanding of opportunity -33]: seeing is not necessarily true. Most of the time, "seeing is false"
随机推荐
Live broadcast preview | can SQL also play industrial machine learning? Mlops meetup V3 takes you to the bottom!
【Redis】数据介绍 & 通用命令 & String类型
Understand flex layout in an article
[redis] hash type
基于 FPGA 的 RISC CPU 设计(4)关于项目的 36 个问题及其答案
11-Go基础:接口
Crawler exercise (IV) -- IP address problem
温度转换 II
Wechat campaign auto like
[redis] get to know redis for the first time
Written examination questions, answers and analysis of Digital IC design and FPGA design (2) 2021 Huawei Hisilicon (Part 1)
Examen final de troisième année
QT basics tutorial: data types and containers
QT basics tutorial: qstringlist
table通过伪类实现 另类自适应
SystemVerilog structure (I)
How to become a senior digital IC Design Engineer (6-6) digital IC Verification: system level simulation
目标检测——ADAS实战
请问etf基金是否靠谱,安全吗
What is stock online account opening? Is it safe to open an account online?
