当前位置:网站首页>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
边栏推荐
- tf. keras. layers. MaxPooling? D function
- Small companies don't make formal offers
- Introduction and use of openfeign component
- C#中元组对象Tuple的使用
- 利用正反遍历来解决“字符的最短距离”问题
- 中后二叉建树
- Blazor University (11)组件 — 替换子组件的属性
- c#语法糖模式匹配【switch 表达式】
- 一套关于 内存对齐 的C#面试题,做错的人很多!
- Blazor University (11) component - replace attributes of subcomponents
猜你喜欢

C# 读写二进制文件

Opencv fills the rectangle with a transparent color

Summary of software test interview questions

微软是如何解决 PC 端程序多开问题的——内部实现

REINFORCE

Blazor University (11) component - replace attributes of subcomponents

Assembly learning Chapter III of assembly language (Third Edition) written by Wang Shuang

Introduction and use of openfeign component
![Introduction to ACM [inclusion exclusion theorem]](/img/3a/9bc2a972d7587aab51fceb8cd2b9bd.png)
Introduction to ACM [inclusion exclusion theorem]
![FileNotFoundError: [Errno 2] No such file or directory](/img/ea/0c3f2768d14c1f4bb42bd1309ab996.png)
FileNotFoundError: [Errno 2] No such file or directory
随机推荐
【鉴权/授权】自定义一个身份认证Handler
C syntax sugar empty merge operator [?] And null merge assignment operator [? =]
Binary tree
ASP.NET 6 中间件系列 - 执行顺序
TP5 customization in extend directory succeeded and failed. Return information
.Net Core 限流控制-AspNetCoreRateLimit
樹莓派開發筆記(十二):入手研華ADVANTECH工控樹莓派UNO-220套件(一):介紹和運行系統
[ncnn] - the meaning of - 23300 in param
MYSQL04_ Exercises corresponding to arithmetic, logic, bit, operator and operator
tf. keras. layers. Embedding function
tf. keras. layers. Density function
Redis Cluster集群,主节点故障,主从切换后ip变化,客户端需要处理不
中后二叉建树
C#语法糖空合并运算符【??】和空合并赋值运算符【 ??=】
Tencent video price rise: earn more than 7.4 billion a year! Pay attention to me to receive Tencent VIP members, and the weekly card is as low as 7 yuan
Passing object type parameters through openfeign
Xamarin effect Chapter 21 expandable floating operation button in GIS
Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (10)
Openfeign service call
Q-Learning & Sarsa