当前位置:网站首页>windows如何安装多个版本mysql,如何同时启动
windows如何安装多个版本mysql,如何同时启动
2022-06-12 04:16:00 【一天不写代码难受】
1 安装mysql
Windows 安装MySQL5.7 以上的版本(压缩包形式安装)
2 使用
在安装多个版本的时候,第一个比如你安装5.6版本,就安装上面那个步骤正常安装;
在安装第二个版本的时候,比如还要安5.7版本,
首先是解压之后,

两个软件的名称要改为不一样,一定要改为不一样
ini文件里面 端口也要改为不一样,比如改为3307
以管理员身份打开cmd命令窗口,将目录切换到MySQL的安装目录的bin目录下
进入mysql的bin目录后执行
mysqld57 install mysql57
一定要用每个软件里面的改名之后的mysqld57这个
给每一个服务起一个别名,当前是起的mysql57
初始化
执行完这条命令
mysqld57 --initialize-insecure --user=mysql
,这时mysql就帮你自己创建一个data文件夹。
以上就安装好了,启动的时候
net start mysql
net start mysql57
两个服务就启动了
进入第一个是
mysql
第二个是
mysql57

以上就同时启动了,如果不是这样改bin目录下的文件的名称,那么只能一次启动一个,关闭这个启动另一个
边栏推荐
- 数据库精选 60 道面试题
- Create a new table in the database. There was no problem before. Today
- FOB,CIF,CFR的区别是什么?
- Dynamic gauge (15) - Minimum toll
- Centernet2 practice: take you through the training of custom datasets with centernet2
- 【C语言】变量本质分析
- [official testerhome] MTSC 2021 Shanghai and Shenzhen PPT download addresses
- 智能面板WiFi联动技术,ESP32无线芯片模组,物联网WiFi通信应用
- Is there a row limit for a single MySQL table
- R语言plotly可视化:plotly可视化基础二维直方图、自定义设置二维直方图的颜色、二维直方图是二元分布的直方图可视化(Basic 2D Histogram)
猜你喜欢

Network tester operation manual renix rack management

命令执行漏洞详解

根據變換矩陣進行圖像拼接

Enterprise Architect v16

Esp32c3 remote serial port

DS18B20 digital thermometer (I) electrical characteristics, power supply and wiring mode

SQL safe backup display and zoom font support

Implementation of fitness club management system based on SSH

疫情数据分析平台工作报告【7】阿里云相关

eBPF系列学习(4)了解libbpf、CO-RE (Compile Once – Run Everywhe) | 使用go开发ebpf程序(云原生利器cilium ebpf )
随机推荐
关于 国产麒麟Qt编译报错“xxx.pri has modification time xxxx s in the futrue“ 的解决方法
spacy中en_core_web_sm安装问题
Successfully solved: warning: there was an error checking the latest version of pip
[C language] analysis of variable essence
Manually encapsulate a foreacht and map
树莓派4B使用Intel Movidius NCS 2来进行推断加速
Unity脚本出現missing時的解决方法
[mysql][mysql 8.0 compressed package installation method]
[MySQL] MySQL installation
Sed command
What are the black box test case design methods in software testing methods?
Create a new table in the database. There was no problem before. Today
Kotlin 启动协程、launch 与async的区别、按照顺序启动协程
关于线程池需要注意的几点
R语言plotly可视化:使用plotly可视化简单线性回归模型的回归线(simple regression model linear regression plots)
R language plot visualization: plot visualization grouped violin plot in R with plot
命令执行漏洞详解
R language plot visualization: plot visualization of basic 2D histogram, custom setting of color of 2D histogram, and histogram visualization of binary distribution (basic 2D histogram)
魏武帝 太祖知不可匡正,遂不复献言
(idea)the file size(2.85M) exceeds configured limit(2.56M). Code insight features are not available