当前位置:网站首页>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
边栏推荐
- LeetCode 1646. Get the maximum value in the generated array
- Cognitive fallacy: what is Fredkin's paradox
- Development trend and market demand analysis report of China's energy storage battery industry Ⓩ 2022 ~ 2028
- [golang] leetcode intermediate - alphabetic combination of island number and phone number
- Morning flowers and evening flowers
- (POJ - 2912) rochambau (weighted concurrent search + enumeration)
- Go language slice interview real question 7 consecutive questions
- Oil monkey plug-in
- How PHP gets all method names of objects
- Investment analysis and prospect trend prediction report of China's boron nitride industry Ⓨ 2022 ~ 2028
猜你喜欢

Décompiler et modifier un exe ou une DLL non source en utilisant dnspy

Redis concludes that the second pipeline publishes / subscribes to bloom filter redis as a database and caches RDB AOF redis configuration files

Buuctf, misc: sniffed traffic

BUUCTF,Misc:LSB

Preliminary analysis of smart microwave radar module

常用sql集合

Mysql database - Advanced SQL statement (I)

Minio deployment

Control loop of program (while loop)

Kali2021.4a build PWN environment
随机推荐
[secretly kill little partner pytorch20 days] - [day3] - [example of text data modeling process]
How PHP drives mongodb
Remember the experience of automatically jumping to spinach station when the home page was tampered with
[dynamic programming] Jisuan Ke: Jumping stake (variant of the longest increasing subsequence)
2022 electrician (elementary) examination questions and electrician (elementary) registration examination
Collection | pytoch common loss function disassembly
What indicators should be paid attention to in current limit monitoring?
LeetCode 1646. Get the maximum value in the generated array
JS closure knowledge points essence
Market layout planning and latest dynamic analysis report of China's smart public security industry Ⓕ 2022 ~ 2028
油猴插件
Plug - in Oil Monkey
Correlation
Leetcode problem solving - 230 The k-th smallest element in the binary search tree
Global and Chinese market of wireless hard disk 2022-2028: Research Report on technology, participants, trends, market size and share
js demo 計算本年度還剩下多少天
Imitation Netease cloud music applet
DR882-Qualcomm-Atheros-QCA9882-2T2R-MIMO-802.11ac-Mini-PCIe-Wi-Fi-Module-5G-high-power
Cognitive fallacy: Wittgenstein's ruler
Is the account opening of Guotai Junan Securities safe and reliable? How to open Guotai Junan Securities Account