企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
#### 一、dos下安装 1、下载地址 版本:5.7 [https://dev.mysql.com/downloads/mysql/](https://dev.mysql.com/downloads/mysql/) 2、配置环境变量 3、初始化 ~~~ cd /d E:\mysql\mysql-5.7.26-winx64\bin mysqld --initialize-insecure   #出现data目录 mysqld --install #安装 ~~~ #### 二、msi安装包安装 版本5.7 1、下载--download--windows--mysqlin staller--version [www.mysql.com](www.mysql.com) ![](https://img.kancloud.cn/46/8c/468c0761edadb687bc39d6824039042c_837x889.png) ![](https://img.kancloud.cn/b4/09/b409a9f39d5c09546b7ef6fba555aaa9_843x430.png) 2、安装 不要升级 ![](https://img.kancloud.cn/73/86/7386b52b13e1023be9afcc7c6b80f8f3_843x598.png) 3、默认配置并且设置密码,端口 4、添加环境变量 ~~~ export path=C:\Program Files (x86)\MySQL\MySQL Server 5.7\bin ~~~