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

边栏推荐
- Junior final exam
- 如何成为一名高级数字 IC 设计工程师(3-5)工具篇:SpyGlass 技术
- Secondary encapsulation of storage (sessionstorage/localstorage) using TS
- 如何用项目甘特图,做好项目汇报
- 哪个证券公司最大最安全 哪家券商服务好
- 温度转换 II
- Google Borg论文
- How to become a senior digital IC Design Engineer (6-7) digital IC Verification: debug skills
- Crawler exercise (IV) -- IP address problem
- MySQL详解 --- 聚合与分组
猜你喜欢

Differences between web testing and app testing

I have summarized some experiences from the whole process of R & D platform splitting

【Redis】Hash类型

The 10 most commonly used gadgets for waterfall project management can be built and used freely
![[MySQL practice of high concurrency, high performance and high availability of massive data -9] - transaction concurrency control solutions lbcc and mvcc](/img/62/77c2274db4f92ad1d88901e149251c.jpg)
[MySQL practice of high concurrency, high performance and high availability of massive data -9] - transaction concurrency control solutions lbcc and mvcc

瀑布型项目管理最常用的10个小工具,可以自由搭建使用
![[redis] key hierarchy](/img/ab/a5d3bb61b4571966d0f47037af4f41.png)
[redis] key hierarchy

【Redis】数据介绍 & 通用命令 & String类型

高并发的理解与设计方案

如何成为一名高级数字 IC 设计工程师(4-3)脚本篇:C 语言实现的文件读写操作
随机推荐
MySQL的下载和安装
【Redis】Key的层级结构
Is there any risk in opening an account for Dongfang fortune stock? Is it safe for Dongfang fortune to open an account
如何成为一名高级数字 IC 设计工程师(3-5)工具篇:SpyGlass 技术
利用kubernetes資源鎖完成自己的HA應用
Eliminate the hover effect when the button is disabled
110. simple chat room 13: chat room server
[apprendre la programmation FPGA - 49 à partir de zéro]: vision - Comment la puce a - t - elle été conçue?
[MySQL practice of high concurrency, high performance and high availability of massive data -9] - transaction concurrency control solutions lbcc and mvcc
MySQL details - aggregation and grouping
Qt基础教程:数据类型与容器
Smart world 2030
OpenResty 使用介绍
How to become a senior digital IC Design Engineer (6-6) digital IC Verification: system level simulation
[redis] data introduction & General Command & string type
[从零开始学习FPGA编程-49]:视野篇 - 芯片是如何被设计出来的?
[understanding of opportunity -33]: seeing is not necessarily true. Most of the time, "seeing is false"
[learn FPGA programming from scratch -49]: Vision - how is the chip designed?
Blog publishing test 2
项目研发,有哪些好用的免费脑图工具软件
