当前位置:网站首页>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
边栏推荐
- Cognitive fallacy: what is Fredkin's paradox
- Global and Chinese market of AC induction motors 2022-2028: Research Report on technology, participants, trends, market size and share
- DR882-Qualcomm-Atheros-QCA9882-2T2R-MIMO-802.11ac-Mini-PCIe-Wi-Fi-Module-5G-high-power
- Cognitive fallacy: Wittgenstein's ruler
- Yyds dry goods inventory Spring Festival "make" your own fireworks
- Exness: the Central Bank of England will raise interest rates again in March, and inflation is coming
- JS Demo calcule combien de jours il reste de l'année
- Harbor integrated LDAP authentication
- Mysql database - Advanced SQL statement (I)
- Is it safe and reliable to open an account and register for stock speculation? Is there any risk?
猜你喜欢

Compréhension de la technologie gslb (Global Server load balance)

Some 5000+ likes, the development notes of a director of cosmic factory, leaked

string

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

Summary of basic knowledge of exception handling
![[flax high frequency question] leetcode 426 Convert binary search tree to sorted double linked list](/img/db/b992d2b461ca17652518a1511b4947.gif)
[flax high frequency question] leetcode 426 Convert binary search tree to sorted double linked list

Teach you how to install aidlux (1 installation)

Blue Bridge Cup Guoxin Changtian single chip microcomputer -- led lamp module (V)

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

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
随机推荐
Leetcode problem solving - 230 The k-th smallest element in the binary search tree
Preliminary analysis of smart microwave radar module
Kali2021.4a build PWN environment
QGIS grid processing DEM data reclassification
[template summary] - binary search tree BST - Basics
DR882-Qualcomm-Atheros-QCA9882-2T2R-MIMO-802.11ac-Mini-PCIe-Wi-Fi-Module-5G-high-power
js demo 计算本年度还剩下多少天
Yyds dry inventory Chapter 4 of getting started with MySQL: data types that can be stored in the data table
JS Demo calcule combien de jours il reste de l'année
Base ring tree Cartesian tree
Code in keil5 -- use the code formatting tool astyle (plug-in)
LeetCode 1647. Minimum deletion times of unique character frequency
Rest参考
Some 5000+ likes, the development notes of a director of cosmic factory, leaked
On my first day at work, this API timeout optimization put me down!
Buuctf, misc: sniffed traffic
Global and Chinese market of wall mounted kiosks 2022-2028: Research Report on technology, participants, trends, market size and share
Buuctf, misc: n solutions
(POJ - 2912) rochambau (weighted concurrent search + enumeration)
What is the difference between res.send() and res.end() in the node express framework