MySQL8.0.32 detailed installation tutorial (teach you how to install at the nanny level)

Detailed MySQL installation

foreword

   对于无论是刚开始接触编程的小伙伴,还是有了几年工作经验的程序猿(程序媛)来讲,数据库的安装一直都是一个比
较复杂的过程,安装完成以后可能会记得一段时间,但是等到我们换了一台电脑或者重装了系统,发现之前安装的MySQL
数据库不好用了,然后自己也忘了具体的安装过程,只好求救于各个安装教程,我也一样,但是安装过程出现了很多问题,
特此记录一下具体的安装过程,以便同伴采用。废话少说,开始上才艺!

Step 1: Download (this installation version is: 8.0.32.0)

Download address: MySQL installation version (there is also a MySQL free installation board)

1. Download the page as shown

insert image description here

2. Here we select the second download item

insert image description here

3. On the download page, you don't need to use an Oracle account to log in or register, just clickNo thanks, just start my download.to download.

insert image description here

Step Two: Install

1. After the download is complete, we downloaded something like this

insert image description here

2. Double-click to run the .msi file

insert image description here

3. At this time, there will be five options as shown in the figure above, and the meanings of these five options are as follows:

Developer Default and Full two options to install the following options

1、MySQL Server
	The most popular Open Source SQL database management system.
	翻译:最流行的开源SQL数据库管理系统。
2、MySQL Shell
	The new MySQL client application to manage MySQL Servers and InnoDB cluster instances.
	翻译:新的MySQL客户端应用程序来管理MySQL服务器和InnoDB集群实例。
3、MySQL Router
	High availability router daemon for InnoDB cluster setups to be installed on application nodes.
	翻译:用于安装在应用程序节点上的InnoDB集群设置的高可用性路由器守护进程。
4、MySQL Workbench
	The GUI application to develop for and manage the server.
	翻译:为服务器开发和管理服务器的GUI应用程序。
5、MySQL for Visual Studio
	To work with the MySQL Server from VS.
	翻译:使用VS中的MySQL服务器。
6、MySQL Connectors
	Connector/Net, Java, C/C++, OBDC and others.
	翻译:作为 .NET、Java、C、C++和ODBC等其他的连接器
7、Examples and tutorials
	To help you get started with your development.
	翻译:帮助你开始你的开发。
8、Documentation
	Allows you to read the documentation offline.
	翻译:允许您脱机阅读文档。

Server only: only install MySQL Server

  • The default location of MySQL8.0 installation is: C:\Program Files\MySQL\MySQL Server 8.0.32
  • The default location for MySQL8.0 data storage is: C:\Program Files\MySQL\MySQL Server 8.0.32\data

Client only: Do not install MySQL Server, install other services, no specific explanation, suitable for installing other services on machines that have already installed MySQL Server
Custom: Custom installation
Note: We choose here“Server only”

4. After selecting the installation type (Server only), when you click next, it will check whether the system has a Microsoft Visual C++ environment. If there is no such environment, please ask Du Niang to complete this task

5. Click "Execute" to install MySQL products

insert image description here

6. After the MySQL product installation is complete, a green "√" will appear and click "next"

insert image description here

7. Click "next" on this interface to display the MySQL configuration page

insert image description here

8. Default port and other configuration pages

insert image description here
It is recommended to use the default configuration here, because the "Config Type" option on this page tells you the purpose of installing MySQL, and the "port" option is the port configuration of the MySQL server, which is generally "3306", and it is not recommended to change it. Click "next" to continue the installation

9. I am not too clear about this configuration, please do research on children’s shoes who are interested (0.0)

insert image description here

10. This step is very important. It is to configure the password of the "root" user of the MySQL service. Please remember the password set in this step after setting it, so that it will be used when adding other users with the root user. Click "next" to continue the installation

insert image description here

11. This step installs the MySQL service to the Windows service

insert image description here

12. Click on the next step "next". I haven't researched the details yet. Interested children's shoes should be studied by themselves.

insert image description here

13. After clicking "Execute" on this page, all configurations will be applied to the MySQL service, and a green "√" will appear after completion.

insert image description here
insert image description here

Step 3: Finish the sprinkling

So far, all the MySQL installations have been completed, you can use the Navicat tool, use "127.0. I re-captured two pictures using a Mac, but the usage is the same.)
insert image description here
insert image description here

end

This tutorial can fully satisfy the installation of MySQL, but there are still many seniors who have more detailed tutorials, and I also learned it through learning, so I attach a link to my learning installation: Thanks to the blogger "Suo Erya" for letting me
have Opportunity to learn more knowledge, so as to record your own learning process


Only by retreating and practicing in the world of "0" and "1" can you become a master, so please be patient with that restless heart

Guess you like

Origin blog.csdn.net/qq_37136536/article/details/130025196