当前位置:网站首页>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
边栏推荐
- Harbor integrated LDAP authentication
- Yyds dry inventory hcie security Day12: concept of supplementary package filtering and security policy
- Persistence of Nacos
- 2022 high altitude installation, maintenance and removal of examination question bank and high altitude installation, maintenance and removal of examination papers
- Decompile and modify the non source exe or DLL with dnspy
- Global and Chinese market of wireless hard disk 2022-2028: Research Report on technology, participants, trends, market size and share
- 常用sql集合
- 2022 safety officer-b certificate examination summary and safety officer-b certificate simulation test questions
- Cognitive fallacy: Wittgenstein's ruler
- Nacos common configuration
猜你喜欢

Why use pycharm to run the use case successfully but cannot exit?

Covariance

Exclusive interview with the person in charge of openkruise: to what extent has cloud native application automation developed now?

Farmersworld farmers world, no faith, how to talk about success?

320. Energy Necklace (ring, interval DP)

2022 free examination questions for safety management personnel of hazardous chemical business units and reexamination examination for safety management personnel of hazardous chemical business units

Niuke winter vacation training camp 4 g (enumeration optimization, Euler power reduction)

Decompile and modify the non source exe or DLL with dnspy

Redis single thread and multi thread

A little understanding of GSLB (global server load balance) technology
随机推荐
Correlation
Functions and differences between static and Const
The 14th five year plan and investment feasibility study report of China's industry university research cooperation Ⓧ 2022 ~ 2028
Implementation principle of inheritance, encapsulation and polymorphism
Minio deployment
Leetcode problem solving - 230 The k-th smallest element in the binary search tree
QGIS grid processing DEM data reclassification
How PHP drives mongodb
Compréhension de la technologie gslb (Global Server load balance)
Supply and demand situation and market scale calculation report of China's portable energy storage power PES industry Ⓛ 2022 ~ 2028
WFC900M-Network_ Card/Qualcomm-Atheros-AR9582-2T-2R-MIMO-802.11-N-900M-high-power-Mini-PCIe-Wi-Fi-Mod
Nacos common configuration
The White House held an open source security summit, attended by many technology giants
Cognitive fallacy: Wittgenstein's ruler
An expression that regularly matches one of two strings
320. Energy Necklace (ring, interval DP)
Niuke winter vacation training camp 4 g (enumeration optimization, Euler power reduction)
Base ring tree Cartesian tree
Leetcode problem solving - 235 Nearest common ancestor of binary search tree
LeetCode 1646. Get the maximum value in the generated array