当前位置:网站首页>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

边栏推荐
- 利用kubernetes资源锁完成自己的HA应用
- Utiliser kubernets Resource Lock pour compléter son application ha
- How to become a senior digital IC Design Engineer (6-7) digital IC Verification: debug skills
- 【Redis】SortedSet类型
- 如何成为一名高级数字 IC 设计工程师(6-4)数字 IC 验证篇:测试点分解
- 为什么建议大家尽可能选择自研公司
- 大三下期末考试
- How to become a senior digital IC Design Engineer (4-5) script: file comparison operation implemented by shell script
- Who do you want to know when opening a stock account? Is it safe to open an account online now?
- [从零开始学习FPGA编程-49]:视野篇 - 芯片是如何被设计出来的?
猜你喜欢

【Redis】List类型

干货丨微服务架构是什么?有哪些优点和不足?

The left toolbar of hbuilder is missing

To apply for a test engineer after years, the resume with high scores should be written like this

学习太极创客 — MQTT 第二章(九)本章测试

How to use project Gantt chart to make project report

【Redis】Set类型

HBuilder左侧工具栏不见了

"The first share of endoscope" broke into IPO two times. Last year, it lost 500million yuan. The commercialization of core products is still in doubt | IPO Express

Understand flex layout in an article
随机推荐
Eliminate the hover effect when the button is disabled
Smart world 2030
Tiflash compiler oriented automatic vectorization acceleration
利用kubernetes资源锁完成自己的HA应用
Live broadcast preview | can SQL also play industrial machine learning? Mlops meetup V3 takes you to the bottom!
Set set
Koa 快速入门
How to become a senior digital IC Design Engineer (6-5) digital IC Verification: coverage collection
HBuilder左侧工具栏不见了
基于 RISC-V SoC 的可配置 FFT 系统设计(1)引言
Necessary technologies for chip manufacturers (1) Introduction
Is there any risk in opening an account for Dongfang fortune stock? Is it safe for Dongfang fortune to open an account
字符串输出
chrome浏览器关闭更新弹窗
Calculate rectangular area
Why is it recommended that you choose the self research company as much as possible
扁平结构转换为树结构
Dialogue with opensea co creation Alex: we still only touch the tip of the iceberg of NFT capability | chain catcher
[learn FPGA programming from scratch -50]: Vision - how are chips made? The thirteen steps of chip manufacturing.
KOA Quick Start
