当前位置:网站首页>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
边栏推荐
- Niuke white moon race 6 [solution]
- Small companies don't make formal offers
- Tencent video VIP member, weekly card special price of 9 yuan! Tencent official direct charging, members take effect immediately!
- TP5 where query one field is not equal to multiple values
- MYSQL_ From mastery to abandonment
- 最通俗易懂的依赖注入之服务容器与作用域
- Assembly learning Chapter III of assembly language (Third Edition) written by Wang Shuang
- Notes sur le développement de la tarte aux framboises (XII): commencer à étudier la suite UNO - 220 de la tarte aux framboises de contrôle industriel advantech (i): Introduction et fonctionnement du s
- 使用两种方法来解决“最大回文数乘积”问题
- Summary of interface automation interview questions for software testing
猜你喜欢
再战leetcode (290.单词规律)
全网讲的最细,软件测试度量,怎样优化软件测试成本提高效率---火爆
编码电机PID调试(速度环|位置环|跟随)
Impact of AOT and single file release on program performance
Assembly learning Chapter III of assembly language (Third Edition) written by Wang Shuang
Onenet connection process
树莓派开发笔记(十二):入手研华ADVANTECH工控树莓派UNO-220套件(一):介绍和运行系统
Source code interpretation of Flink index parameters (read quantity, sent quantity, sent bytes, received bytes, etc.)
MYSQL03_ SQL overview, rules and specifications, basic select statements, display table structure
be based on. NETCORE development blog project starblog - (1) why do you need to write your own blog?
随机推荐
MYSQL05_ Ordr by sorting, limit grouping, group by grouping
LNMP MySQL allows remote access
Onenet connection process
Some problems encountered in setting Django pure interface, channel and MySQL on the pagoda panel
.Net Core 限流控制-AspNetCoreRateLimit
Opencv reads webcam video and saves it locally
使用栈来解决”迷你语法分析器“的问题
Opencv fills the rectangle with a transparent color
Due to 3 ²+ four ²= five ², Therefore, we call '3,4,5' as the number of Pythagorean shares, and find the array of all Pythagorean shares within n (including n).
ASP.NET 6 中间件系列 - 条件中间件
基于.NetCore开发博客项目 StarBlog - (1) 为什么需要自己写一个博客?
Use of slice grammar sugar in C #
建立与遍历二叉树
Tips in MATLAB
树莓派开发笔记(十二):入手研华ADVANTECH工控树莓派UNO-220套件(一):介绍和运行系统
AC & A2C & A3C
. net tip: talk about the problem that the scoped service cannot be obtained in the middleware structure
ASP. Net and ASP NETCORE multi environment configuration comparison
SQL statement - DDL
Two methods are used to solve the "maximum palindrome product" problem