当前位置:网站首页>Solution to the problem that MySQL cannot be started in xampp
Solution to the problem that MySQL cannot be started in xampp
2022-06-23 15:05:00 【1024 Q】
All of a sudden Xampp Of mysql I can't open it :
I'm confused , It can always be opened before , Then just now I started it , It will suddenly fail to start , I thought about , There is no port number occupation problem , And the error message does not say that the port number is occupied , Error reporting is very popular

Then I looked at the log file – It is found that the log file does not describe how to make an error
Then I found a lot of information on the Internet , Say open config Medium my.ini Modify the path in the configuration file , But mine is right , The path and port number are normal

According to the blog steps searched
---- Start the command line with the administrator , Get into mysql Of bin Catalog , Input
mysqld --install, enter ,
Command line window input :net start mysql , happen 1067 error

But I found a lot of related blogs on the Internet, but they didn't solve the problem
I also try to uninstall Xampp, But the reinstallation will still not start mysql
Finally, you can only delete MySQL service
Use windows Self contained sc Tools
Input :sc /?

Use sc query Next mysql This service
command :
sc query mysql
You can see ,mysql Services exist ,status yes stopped

Now let's put mysql The service is deleted
Take a look at deleting windows Commands for services
delete----------( From the registry ) Delete service .

Delete mysql service
command :
sc delete mysql

Check again , have a look mysql Is the service still available
command :
sc query mysql
Output:
[SC] EnumQueryServicesStatus:OpenService Failure 1060:
The specified service is not installed .

Many days apart , The same mistake happened again , I can't open it for no reason , This time it's not as hard as last time mysql Unload and reload . I searched a lot of blogs . Still haven't found the right way .
Then I backed up the whole data Catalog , Create a new one data Empty directory , Try to start mysql, I found that there was a wrong report Could not open mysql.plugin table. Some plugins may be not loaded

Permission table , The plug-in table cannot be found , Because it's empty data Directory connection mysql There's no library , It's normal that you can't start it . Repair
find mysql Install under directory bin Catalog , function :
mysql_install_db
This is equivalent to initializing , You'll find it mysql And some other necessary libraries , The default user is root, And there is no password , At this time, it can be started normally mysql 了 . But the previous database is gone , Go back it up and paste it , By the way, the ibdata1 The file is also pasted . Try again if you can open
summary
This is about Xampp in mysql This is the end of the article on "unable to start problem solving" , More about Xampp mysql Unable to start the content, please search the previous articles of the software development network or continue to browse the relevant articles below. I hope you can support the software development network in the future !
边栏推荐
- 操作系统底层知识总结(面试)
- 2021-05-08
- JS垃圾回收
- 信贷产品额度定价场景下的回归模型效果评估
- Simple tutorial of live streaming with OBS
- RF Analyzer Demo搭建
- Babbitt | metauniverse daily must read: meta, Microsoft and other technology giants set up the metauniverse Standards Forum. Huawei and Alibaba joined. NVIDIA executives said that they welcomed partic
- 小米为何深陷芯片泥潭?
- PHP指定字段大于100正序排,小于100随机排
- Converging ecology, enabling safe operation, Huawei cloud security, cloud brain intelligent service security
猜你喜欢

百万奖金等你来拿,首届中国元宇宙创新应用大赛联合创业黑马火热招募中!

信贷产品额度定价场景下的回归模型效果评估

idea查看.class文件 idea查看.class文件夹

小米为何深陷芯片泥潭?

基因检测,如何帮助患者对抗疾病?

Tencent ECS failed to send email

The team of China University of Mines developed an integrated multi-scale deep learning model for RNA methylation site prediction

How to use note taking software flowus and note for interval repetition? Based on formula template
![[in depth understanding of tcapulusdb technology] tcapulusdb construction data](/img/0c/33d9387cd7733a0c6706a73f9535f7.png)
[in depth understanding of tcapulusdb technology] tcapulusdb construction data

2021-05-08
随机推荐
KDD'22「阿里」推荐系统中的通用序列表征学习
SFOD:无源域适配升级优化,让检测模型更容易适应新数据(附论文下载)
When I went to oppo for an interview, I got numb...
Effect evaluation of regression model under credit product quota pricing scenario
ACM Player Illustration leetcode remove element
微信小程序引导用户添加小程序动画页
HCIA 网络基础
The team of China University of Mines developed an integrated multi-scale deep learning model for RNA methylation site prediction
信贷产品额度定价场景下的回归模型效果评估
mysql主从只同步部分库或表的思路与方法
Simple tutorial of live streaming with OBS
Uniswap 收购 NFT交易聚合器 Genie,NFT 交易市场将生变局?
Auto - vérification recommandée! Les bogues MySQL ne font pas reculer les transactions, peut - être êtes - vous à risque!
Une compréhension simple du tri rapide
JS中的pop()元素
2021-05-08
PHP指定字段大于100正序排,小于100随机排
2021-06-03
等保備案是什麼意思?應該去哪裏辦理備案?
How can genetic testing help patients fight disease?