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

边栏推荐
- Finally got the byte offer. The 25-year-old inexperienced experience in software testing is written to you who are still confused
- “内窥镜第一股”二闯IPO,去年亏损5个亿,核心产品商业化仍存疑 | IPO速递
- OpenResty 使用介绍
- How to become a senior digital IC Design Engineer (6-5) digital IC Verification: coverage collection
- 瀑布型项目管理最常用的10个小工具,可以自由搭建使用
- e.target与e.currentTarget的区别
- 【学习笔记】子集和问题
- HashSet storing objects and how to not store the same objects
- 数字 IC 设计、FPGA 设计秋招笔试题目、答案、解析(2)2021 华为海思(上)
- Target detection - ADAS practice
猜你喜欢

CTFHub-Web-密码口令-弱口令

The 10 most commonly used gadgets for waterfall project management can be built and used freely

项目研发,有哪些好用的免费脑图工具软件
![[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"

How to become a senior digital IC Design Engineer (4-5) script: file comparison operation implemented by shell script

“内窥镜第一股”二闯IPO,去年亏损5个亿,核心产品商业化仍存疑 | IPO速递
Fundamentals of scala (3): operators and process control

Configurable FFT system design based on risc-v SOC (1) Introduction

2022.02.15

KOA Quick Start
随机推荐
CTFHub-Web-密码口令-默认口令
Crawler exercise (IV) -- IP address problem
Fundamentals of scala (3): operators and process control
请问etf基金是否靠谱,安全吗
I'd like to ask you, where can I open an account in Zhongshan? Is it safe to open an account online?
Written examination questions, answers and analysis of Digital IC design and FPGA design (2) 2021 Huawei Hisilicon (Part 1)
字符串替换
Blog publishing test 1
Smart world 2030
Why should the pointer be null after delete
【Redis】Hash类型
CTFHub-Web-SQL注入-整数型注入
The 10 most commonly used gadgets for waterfall project management can be built and used freely
Wechat campaign auto like
How to become a senior digital IC Design Engineer (4-3)
字符串方法练习
学习太极创客 — MQTT 第二章(九)本章测试
Convert flat structure to tree structure
Studies of relative costs for development in different languages
How to become a senior digital IC Design Engineer (4-5) script: file comparison operation implemented by shell script
