当前位置:网站首页>MySQL port is occupied when building xampp
MySQL port is occupied when building xampp
2022-04-23 03:07:00 【Rookie Xiaoxiao Feifei】
Problem description : build xampp Tips mysql Port occupied . Here's the picture

reason : A computer has been installed before mysql Not uninstalled .
terms of settlement :
2 In this case :1. Not previously installed mysql, Just change the port number directly .
2. It's been installed before mysql And I'm not going to delete the old mysql, But switch to the new mysql: Change the registration form
In the first case : Not previously installed mysql
Follow the steps below , stay xampp change mysql Configuration file for , Port number changed to :3308 Or any unoccupied port
a. Click on congif==》 choice my.ini

b. Change the following image 2 Port number is 3308, Or other unoccupied ports

For the second case : It's been installed before mysql Don't want to uninstall , I also want to use the current mysql.
step : Change the default in the registry mysql Address .
principle : Change the default startup address of the registry from the old one mysql To the new mysql, This starts mysql When , Is to start a new mysql.
Old address :C:\Program Files\MySQL\MySQL Server 5.5\my.ini
xampp New address :C:\xampp\mysql\bin\mysqld
1. Open registry editor

2. find mysql Address HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL

3. Double-click to open , Change address ,defaults-file=‘ Delete the old address here , Change to a new address ’. I have xampp Of mysql The new address is C:\xampp\mysql\bin\mysqld, So it's like the picture below .

result :xampp It can start normally .

版权声明
本文为[Rookie Xiaoxiao Feifei]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230306251390.html
边栏推荐
- Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (8)
- Some problems encountered in setting Django pure interface, channel and MySQL on the pagoda panel
- Impact of AOT and single file release on program performance
- Use of slice grammar sugar in C #
- Detailed log display of openfeign call
- 7-11 rearrange the linked list (25 points)
- If the deep replication of objects is realized through C #?
- Golden nine silver ten interview season, you are welcome to take away the interview questions (with detailed answer analysis)
- Ningde's position in the times is not guaranteed?
- 最通俗易懂的依赖注入之生命周期
猜你喜欢

Xamarin效果第二十一篇之GIS中可扩展浮动操作按钮

Source code interpretation of Flink index parameters (read quantity, sent quantity, sent bytes, received bytes, etc.)

Openfeign details show

Ningde's position in the times is not guaranteed?

Realize QQ login with PHP

MYSQL03_ SQL overview, rules and specifications, basic select statements, display table structure

How does Microsoft solve the problem of multiple PC programs

C#中切片语法糖的使用

Cherno_ Game engine series tutorial (5): 101~
![FileNotFoundError: [Errno 2] No such file or directory](/img/ea/0c3f2768d14c1f4bb42bd1309ab996.png)
FileNotFoundError: [Errno 2] No such file or directory
随机推荐
MAUI初体验:爽
Two methods are used to solve the "maximum palindrome product" problem
Miniapi of. Net7 (special section): NET7 Preview3
Depth deterministic strategy gradient (ddpg)
How does Microsoft solve the problem of multiple programs on PC side -- internal implementation
如果通过 C# 实现对象的深复制 ?
Openfeign timeout setting
Numpy append function
How to write the expected salary on your resume to double your salary during the interview?
tf. keras. layers. MaxPooling? D function
中后二叉建树
MYSQL04_ Exercises corresponding to arithmetic, logic, bit, operator and operator
C# WPF UI框架MahApps切换主题
Deep q-network (dqn)
The backtracking of stack is used to solve the problem of "the longest absolute path of file"
Using stack to solve the problem of "mini parser"
Niuke white moon race 5 [problem solving mathematics field]
最通俗易懂的依赖注入与控制反转
求二叉树的叶子结点个数
What kind of experience is it to prepare for a month to participate in ACM?