当前位置:网站首页>Teach you how to run two or more MySQL databases at the same time in one system
Teach you how to run two or more MySQL databases at the same time in one system
2022-07-03 22:15:00 【Peach blossom key God】
First step 、 First install two mysql
Operation steps
The installation steps of each version are basically the same , You can refer to the following links :
https://blog.csdn.net/weixin_50843918/article/details/122888392?spm=1001.2014.3001.5501
The second step 、 Modify the configuration file
Click the link that requires all configuration files (mysql8):
https://blog.csdn.net/weixin_50843918/article/details/122894344?spm=1001.2014.3001.5501
Click the link that requires all configuration files (mysql5):
https://blog.csdn.net/weixin_50843918/article/details/122894333?spm=1001.2014.3001.5501
Modify two versions mysql Configuration file in my.ini
Modify the port numbers in the two configuration files as follows :
The second step 、 start-up mysql
Start two Mysql, View two in the service mysql Is there any error in the executable file of
Location of two services , Under the corresponding installation directory
Access to database
Distinguish two databases according to the port number ,-P3305 It's the port number . Because this database has no password , So don't write when logging in
Successful entry , Version as follows
If the port number is 3306 You don't have to write , Because the default is 3306. This database has been set with a password , So you need to input
Version number:
There is basically no problem following this step , You can leave a message if there is a problem or an error
边栏推荐
- Data consistency between redis and database
- [sg function] 2021 Niuke winter vacation training camp 6 h. winter messenger 2
- Kali2021.4a build PWN environment
- Is it safe and reliable to open an account and register for stock speculation? Is there any risk?
- Mindmanager2022 serial number key decompression installer tutorial
- 320. Energy Necklace (ring, interval DP)
- Nacos common configuration
- Go language slice interview real question 7 consecutive questions
- 常用sql集合
- Leetcode problem solving - 235 Nearest common ancestor of binary search tree
猜你喜欢
Control loop of program (while loop)
Exclusive interview with the person in charge of openkruise: to what extent has cloud native application automation developed now?
Collection | pytoch common loss function disassembly
BUUCTF,Misc:LSB
A little understanding of GSLB (global server load balance) technology
6.0 kernel driver character driver
[secretly kill little partner pytorch20 days] - [day3] - [example of text data modeling process]
Unique in China! Alibaba cloud container service enters the Forrester leader quadrant
Summary of basic knowledge of exception handling
[actual combat record] record the whole process of the server being attacked (redis vulnerability)
随机推荐
string
Nacos common configuration
Exclusive interview with the person in charge of openkruise: to what extent has cloud native application automation developed now?
The latest analysis of R1 quick opening pressure vessel operation in 2022 and the examination question bank of R1 quick opening pressure vessel operation
On my first day at work, this API timeout optimization put me down!
常用sql集合
regular expression
Leetcode problem solving - 235 Nearest common ancestor of binary search tree
Covariance
Buuctf, web:[geek challenge 2019] buyflag
Investment analysis and prospect trend prediction report of China's boron nitride industry Ⓨ 2022 ~ 2028
English topic assignment (28)
Report on the development strategy of China's engineering bidding agency and suggestions for the 14th five year plan Ⓙ 2022 ~ 2028
How does sentinel, a traffic management artifact, make it easy for business parties to access?
[secretly kill little partner pytorch20 days] - [day3] - [example of text data modeling process]
Remember the experience of automatically jumping to spinach station when the home page was tampered with
Plug - in Oil Monkey
The 14th five year plan for the construction of Chinese Enterprise Universities and the feasibility study report on investment Ⓓ 2022 ~ 2028
Redis single thread and multi thread
Control loop of program (while loop)