当前位置:网站首页>How Windows installs multiple versions of MySQL and starts it at the same time
How Windows installs multiple versions of MySQL and starts it at the same time
2022-06-12 04:20:00 【It's hard not to write code all day】
Here's the catalog title
1 install mysql
Windows install MySQL5.7 Version above ( Compressed package installation )
2 Use
When installing multiple versions , The first one is like you install 5.6 edition , Just install the above step to install normally ;
When installing the second version , For example, we need to install 5.7 edition ,
First, after decompression ,

The names of the two software should be changed to be different , It must be changed to be different
ini In the document The port should also be changed to be different , For example, change to 3307
Open as administrator cmd Command window , Switch directory to MySQL Of the installation directory bin Under the table of contents
Get into mysql Of bin Execute... After directory
mysqld57 install mysql57
Be sure to use the renamed ones in each software mysqld57 This
Give each service an alias , Current is mysql57
initialization
After executing this command
mysqld57 --initialize-insecure --user=mysql
, At this time mysql Just create one for yourself data Folder .
The above is installed , When it starts
net start mysql
net start mysql57
Two services are started
The first one is
mysql
The second is
mysql57

The above starts at the same time , If not, change it bin The name of the file in the directory , You can only start one at a time , Close this and start another
边栏推荐
- 成功解决:WARNING: There was an error checking the latest version of pip.
- [official testerhome] MTSC 2021 Shanghai and Shenzhen PPT download addresses
- Raspberry pie 4B uses Intel movidius NCS 2 for inference acceleration
- WiFi module scheme of the wireless Internet of things, esp32-s3 chip technology, helps the equipment to be intelligent
- SQL Safe Backup显示器和缩放字体的支持
- The memory four area model of C language program
- Experience the good team collaborative development process brought by Huawei cloud code hosting from 0 [my Huawei cloud experience journey] [play with Huawei cloud]
- Mysql主从搭建与Django实现读写分离
- Function realization and application of trait
- [Yugong series] March 2022 asp Net core Middleware - current limiting
猜你喜欢

电商中台系统架构

智能面板WiFi聯動技術,ESP32無線芯片模組,物聯網WiFi通信應用

Mongodb essence summary

【高效】最强开发工具Ctool编译踩坑

疫情数据分析平台工作报告【2】接口API

数据库新建表,以前没问题的,今天

树莓派4B使用Intel Movidius NCS 2来进行推断加速

智能面板WiFi联动技术,ESP32无线芯片模组,物联网WiFi通信应用

Summary of sequential, modulelist, and moduledict usage in pytorch

Zabbix6.0 new feature GEOMAP map marker can you use it?
随机推荐
PyTorch中的Sequential、ModuleList和ModuleDict用法总结
windows如何安装多个版本mysql,如何同时启动
Zabbix6.0新功能Geomap 地图标记 你会用吗?
leetcode797. 所有可能的路径(中等)
Mysql主从搭建与Django实现读写分离
SQL safe backup display and zoom font support
千字巨著《编程后传》
Legendary biological car-t has been approved by FDA, becoming the first domestic cell therapy product to successfully go to sea
【clickhouse专栏】新建库角色用户初始化
动规(15)-最低通行费
R语言plotly可视化:可视化回归模型实际值和回归预测值的散点图分析回归模型的预测效能、区分训练集和测试集、一个好的模型大部分的散点在对角线附近、添加边缘直方图以快速诊断模型可能存在的任何预测偏差
[SC] OpenService FAILED 5: Access is denied.
双目标定学习资料整理
WiFi module scheme of the wireless Internet of things, esp32-s3 chip technology, helps the equipment to be intelligent
数据库新建表,以前没问题的,今天
Double objective learning materials sorting
Kotlin starts the process, the difference between launch and async, and starts the process in sequence
WPF data binding (IV)
PHP and JS remove all spaces
分布式锁介绍