windows安装mysql 5.7
时间: 2023-11-30 17:42:12 浏览: 97
以下是在Windows中安装MySQL5.7的步骤:
1.从MySQL官网下载MySQL5.7的安装程序,下载地址为https://dev.mysql.com/downloads/mysql/5.7.html#downloads。
2.双击下载的安装程序,选择“Custom”安装类型。
3.在“Select Products and Features”页面中,选择“MySQL Server 5.7”,然后点击“Next”。
4.在“Installation”页面中,选择“Standalone MySQL Server / Classic MySQL Replication”,然后点击“Next”。
5.在“Type and Networking”页面中,选择“Config Type”为“Development Machine”,然后点击“Next”。
6.在“Authentication Method”页面中,选择“Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)”,然后点击“Next”。
7.在“Accounts and Roles”页面中,设置root用户的密码,并勾选“Enable root access from remote machines”,然后点击“Next”。
8.在“Windows Service”页面中,选择“Standard System Account”,然后点击“Next”。
9.在“Apply Configuration”页面中,点击“Execute”按钮,等待安装完成。
10.在“Installation Complete”页面中,点击“Finish”按钮,完成安装。
11.打开命令提示符,输入以下命令连接到MySQL服务器:
```
mysql -u root -p
```
12.输入安装时设置的密码,即可连接到MySQL服务器。
阅读全文
相关推荐
![-](https://img-home.csdnimg.cn/images/20241231045053.png)
![-](https://img-home.csdnimg.cn/images/20241231045053.png)
![-](https://img-home.csdnimg.cn/images/20241231044930.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)