How To Fix the XAMPP Error: MySQL shutdown unexpectedly

  Рет қаралды 243,355

Ken

Ken

Күн бұрын

If you're experiencing an issue with XAMPP when attempting to run MySQL on Windows 10 x64 and it shuts down unexpectedly, follow these steps to resolve the issue:
1. Change the name of the "mysql/data" folder to "mysql/data_old".
2. Create a new folder named "mysql/data".
3. Transfer the contents of "mysql/backup" to the newly created "mysql/data" folder.
4. Move all database folders from "mysql/data_old" to "mysql/data", excluding the "mysql", "performance_schema", and "phpmyadmin" folders.
5. Replace the "ibdata1" file in the "mysql/data" folder with the one from "mysql/data_old".
6. Finally, start MySQL from the XAMPP control panel.
Note: XAMPP automatically creates backups, which can be found in the folder where it was installed.
The "MySQL shutdown unexpectedly" error is most often caused by a conflict with another program or a problem with the MySQL configuration. Check if there is any other application already using the same port (usually 3306) that MySQL is configured to run on. Port conflicts can cause MySQL to shut down. You can change the MySQL port in the XAMPP configuration if needed.

Пікірлер: 645
@abhishekkandari7116
@abhishekkandari7116 3 жыл бұрын
This is one of the most important video for a PHP Dev working on Windows environment. Thank you Ken for sharing this knowledge with us
@reginaldodoprado2752
@reginaldodoprado2752 7 ай бұрын
Three days banging my head and you solved the problem in less than three minutes... u R my hero, man! 😁
@danyzuhj
@danyzuhj 2 жыл бұрын
Sir you have saved my life! i had the issue 2 hours before i had to take my final exam and this worked like a charm!
@uttamtidake600
@uttamtidake600 6 ай бұрын
This is very worst situation and we in the very stressful condition in our exam time. I do my project in php i have to submit my project early coming days iam happy to get this solution if any badluck happen i have this solution 😂
@carlossolrac84
@carlossolrac84 Жыл бұрын
If that does not work try opening task manager and closing mysqld and other database processes (for example, postgres). It worked for me, since one of the reasons why this error happens is because your port is already in use.
@Kikocomm
@Kikocomm Жыл бұрын
And what was the method you followed
@HeyJunii
@HeyJunii Ай бұрын
thank you it worked!
@KN0CK0UT91
@KN0CK0UT91 2 жыл бұрын
Thanks. It worked. Watch it with x2 speed :)
@sylakkayizzi8513
@sylakkayizzi8513 2 жыл бұрын
thanx so much, i was completely stuck and confused, the video has sincerely helped me a lot, thnx so much indeed
@SMART-GIFTING
@SMART-GIFTING Жыл бұрын
You saved my live!! Many thanks
@mtsparkore
@mtsparkore 3 жыл бұрын
Man, you save too many hours here! Thanks a lot!
@VincentKing89
@VincentKing89 Жыл бұрын
You are my Hero. Simple and Work!
@ideiassimples9428
@ideiassimples9428 2 жыл бұрын
Thank you. This video resolve my problem.
@amrsayedmuhammad9124
@amrsayedmuhammad9124 2 жыл бұрын
thank you Ken for sharing this knowledge with us
@arielpheleg56
@arielpheleg56 2 жыл бұрын
Thanks, i'm brazilian, there's no video in portuguese, you saved me.
@pushpendratomar4788
@pushpendratomar4788 2 жыл бұрын
That's a great tutorial for dev, thanks a lot Ken
@VolkovDan
@VolkovDan 2 жыл бұрын
HOLY SHIT BRO, U HELPED ME A LOT, TYSM
@MaxwellHauser
@MaxwellHauser 2 ай бұрын
Wow what a strange bug. Thank you so much for this!
@Dev_GuiAntunes
@Dev_GuiAntunes 8 ай бұрын
Thank you, bro!! I fixed my problem
@kiddhkane
@kiddhkane 2 жыл бұрын
You're a life saver, man.
@PlinioTeixeira
@PlinioTeixeira Жыл бұрын
Ótimo tutorial! Resolveu meu problema, parabém por compartilhar essa informação preciosa. 🥰
@lucas.martir
@lucas.martir Жыл бұрын
Perfect! Thank you!
@DS-Pakaemon
@DS-Pakaemon 2 жыл бұрын
THANKS A LOT MANNNN, THIS WAS GODSENT
@alexandrealvarenga1638
@alexandrealvarenga1638 Жыл бұрын
tks, i tried a lot and worked for me
@stuartcarter7053
@stuartcarter7053 Жыл бұрын
Superb video. Solved my problem perfectly. Thank you
@joanaliviaamorimdelacerda487
@joanaliviaamorimdelacerda487 2 жыл бұрын
Thank you soo much!! I was feaking out
@AndroKishore
@AndroKishore Жыл бұрын
thanks, it solved my issue.
@fatimazohraezzaidani1020
@fatimazohraezzaidani1020 2 жыл бұрын
thanc you it's the best solution that I found
@franciscocardoso1890
@franciscocardoso1890 3 жыл бұрын
thanks for helping, u saved me a lot of hours.
@yasaswini7977
@yasaswini7977 2 жыл бұрын
Thank you so much sir, it worked
@mdsaminyeasar5935
@mdsaminyeasar5935 2 жыл бұрын
Thank you. You saved my day.
@andrefredericomuller
@andrefredericomuller 2 жыл бұрын
Thanks man!! You've helped so much!!
@gyamelsl
@gyamelsl Жыл бұрын
Excelent! Thanks.
@A_Vaseem
@A_Vaseem 2 жыл бұрын
Thank You very Much for the solution
@danielnogueira3963
@danielnogueira3963 2 жыл бұрын
Thank you for solve my problem in 2 minutes, lol
@russin_cria
@russin_cria 2 ай бұрын
Great video bro!
@JudgementHand
@JudgementHand 2 жыл бұрын
hi i followed the steps mentioned in the videos and both apache and mysql started the only problem is that i got an error when connecting to mysql admin in browser something like "unable to connect with user@locahost with password : yes "
@Lextadz
@Lextadz 3 жыл бұрын
I used to work with Wamp for like 5 years, recently change my laptop and start using Xampp instead. Worst mistake that I've ever done. Less than 2 months and mysql crashed this way, spend 2 hours until I found your video... thanks a lot, man! You just save me
@costastzanos
@costastzanos Ай бұрын
Dude thank you so much, you actually saved me from ruining a web development contract that I had. I appreciate your help dude thank you so much
@TKTK-jx4np
@TKTK-jx4np Жыл бұрын
There is no wpl file data old folder bro!!!
@sergiojunior7401
@sergiojunior7401 8 ай бұрын
Congratulations on the video man a lot of forums there, with a lot of meaningless theories and nonsense you were very clear and objective, congratulations leaving my like and my subscription
@Ken-oh5yh
@Ken-oh5yh 8 ай бұрын
Much appreciated!
@kingakalinowska7854
@kingakalinowska7854 11 ай бұрын
Thank you very much for this tutorial - it solved my problem. I would love to understand, why it wasn't working before and what all those steps mean (change)
@misiu475
@misiu475 Жыл бұрын
Its works in June 2023... Thank you
@FiraFiki
@FiraFiki 5 ай бұрын
Thanks! It works. Almost cracked my head open 😢
@gabrielearaujo3013
@gabrielearaujo3013 Жыл бұрын
Tentei resolver durante horas, mas foi você que resolveu meu problema muito obrigado 😊😊 ✌✌
@rodrigo100kk
@rodrigo100kk 11 ай бұрын
Eu também. Esse tuto é pika.
@jantainter8067
@jantainter8067 2 жыл бұрын
This is one of the most important video for a PHP Developer's working on Windows. Thank you Ken for sharing this knowledge with all.
@labellezaaesthetica8604
@labellezaaesthetica8604 2 жыл бұрын
really reccomend to everyone please do subscribe his channel this video helps us alot thank for making this video!
@md.masudulislam3677
@md.masudulislam3677 2 жыл бұрын
Please accept my gratitude, I was in big trouble. I'm praying for you god bless you.
@pepexd7394
@pepexd7394 2 жыл бұрын
Thanks for u video you save my life xd Just one thing, speak better pls.
@north.thunpisit
@north.thunpisit Жыл бұрын
This clip can help me after I try it fro a long time, Thanks so much. 😊
@tekashihatake3711
@tekashihatake3711 Жыл бұрын
BENCECIDO Muchas gracias Hermano me salvaste
@kirillushakov374
@kirillushakov374 7 ай бұрын
Thanks man! U saved a lot of time for me and all these people :) Like
@professorfabiodepaula
@professorfabiodepaula 6 ай бұрын
WOW!!!! It's working again. Than you friend.
@foldingtravelguitar
@foldingtravelguitar 2 жыл бұрын
Ken, you're a total star. I was completely stuck until your method fixed things. Thanks for posting!
9 ай бұрын
still working in 2024!
@informaticacolectiva
@informaticacolectiva 2 жыл бұрын
great video, likee!
@elfiking478
@elfiking478 2 жыл бұрын
thanks l was working on project you helped me a lot thanks by
@breakfree971
@breakfree971 9 ай бұрын
Bless you. You are a life saver. Thank you so very much.
@GOPALS1967
@GOPALS1967 2 жыл бұрын
Thank you very much for this tutorial. It really helped as I was stuck with the same problem
@akamazi4792
@akamazi4792 8 ай бұрын
Thank you so much, your tutorial helped
@StoneColdProfessor
@StoneColdProfessor 2 жыл бұрын
Perfect! You saved my bacon!
@SYLCN05
@SYLCN05 11 ай бұрын
Absolute Legend it fixed my problem👍
@smadhavi9491
@smadhavi9491 Жыл бұрын
thank so much one of the most important video for xampp
@vineetarora1405
@vineetarora1405 Жыл бұрын
WOW, Thanks a ton, the trick saved me . :)
@aynaarahmad
@aynaarahmad 2 жыл бұрын
Lifesaver! Im almost cryyyyyyyy but you make me happy again :') Thank youuu!
@ryansatriayudha
@ryansatriayudha 6 ай бұрын
Thank you for making this video.
@joes46985
@joes46985 2 жыл бұрын
thank you sir!
@LuizOtavio-we6be
@LuizOtavio-we6be 2 жыл бұрын
Nice video, bro!! thanksss, it helped a lot
@moinshaikh177
@moinshaikh177 2 жыл бұрын
life saving Video man thanks it finally worked
@guilhermerksksk
@guilhermerksksk 2 жыл бұрын
i love you, thank you so much i was about to give up
@FabioMarcosBr
@FabioMarcosBr Жыл бұрын
UAU! thank you for sharing you knowledge! Very Very important your help!!!
@AlbertoMartinez3d
@AlbertoMartinez3d 2 жыл бұрын
Great thanks! U make me happy today! Milesker
@bLAzelvl
@bLAzelvl 3 жыл бұрын
thank you old guy from Squid Game
@hectorribeiro9231
@hectorribeiro9231 Жыл бұрын
That worked for me. Thank you very much.
@theone3465
@theone3465 Жыл бұрын
Thank you, this video safe my life.
@MyMineplays
@MyMineplays 9 ай бұрын
Thank you, saved my life :)
@dinusebastian9384
@dinusebastian9384 Жыл бұрын
Really helpful.... It works🥳🥳Thank u.............
@nothing-cx1mh
@nothing-cx1mh 2 жыл бұрын
Thank You bro, You save my life.
@brainy3429
@brainy3429 11 ай бұрын
This is seriously helpful man Thanks a lot!!! It would be helpful to know cause of the problem as well so we can avoid it later
@Ken-oh5yh
@Ken-oh5yh 11 ай бұрын
The "MySQL shutdown unexpectedly" error is most often caused by a conflict with another program or a problem with the MySQL configuration. Check if there is any other application already using the same port (usually 3306) that MySQL is configured to run on. Port conflicts can cause MySQL to shut down. You can change the MySQL port in the XAMPP configuration if needed.
@brainy3429
@brainy3429 11 ай бұрын
@@Ken-oh5yhty...good to know!
@samehdeyab6136
@samehdeyab6136 2 жыл бұрын
Thank you very very much .it work correctly
@amoffer
@amoffer Жыл бұрын
Thank you so much sir... you are the BoSS.
@sirroteolaoye9114
@sirroteolaoye9114 Жыл бұрын
The best part is replacing the folder and the data brought all the tables in phpmyadmin. Great job!
@doctmohamedabdo
@doctmohamedabdo 2 жыл бұрын
Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaank you so much
@deltinha
@deltinha Жыл бұрын
thanks for video, perfect!!
@maysm3266
@maysm3266 Жыл бұрын
thanks, this one is very helpful.
@chac_man
@chac_man 2 жыл бұрын
Gooddd!!! It's works for windows11 and xampp 3.3.0, thx!!!
@Ken-oh5yh
@Ken-oh5yh 2 жыл бұрын
Thank you for confirmation!
@michaelmicheal2086
@michaelmicheal2086 2 жыл бұрын
Very Good, its working with me :)
@mairajzeb1810
@mairajzeb1810 2 жыл бұрын
Thank you it solved my problem
@darciojunior434
@darciojunior434 Жыл бұрын
Help so much ... Like !!! Thanks !!!
@marufsarkar2960
@marufsarkar2960 Жыл бұрын
It Worked! Thanks a lot
@kakatax1216
@kakatax1216 7 ай бұрын
thanks, i haate xamp for doing that
@webmastermousmedia
@webmastermousmedia 2 жыл бұрын
Thank you very much for this tutorial. It really helped as I was stuck with the same problem
@collinsmungemwangi9601
@collinsmungemwangi9601 Жыл бұрын
thank you God bless you it has worked
@gabrielmalheiro4871
@gabrielmalheiro4871 2 жыл бұрын
Tks really much, you really helped me!!!!!
@tranxuannhon
@tranxuannhon 9 ай бұрын
Thanks, you save me a lot of time
@lexerthefirst9533
@lexerthefirst9533 9 ай бұрын
impressive! thanks for the fix
@prodesigner2032
@prodesigner2032 2 жыл бұрын
thanks for your helps you is the real prof
@mohamedkidwany4161
@mohamedkidwany4161 2 жыл бұрын
It's working ... thank you😍🤩
6 ай бұрын
Perfect! Thank you!
@joaomarcos2129
@joaomarcos2129 11 ай бұрын
thanks champ you saved my day :D
@anasofia5582
@anasofia5582 Жыл бұрын
Thank you very much, you save my work
@aratishinde3169
@aratishinde3169 2 жыл бұрын
Thank you for sharing this video
@anastazry
@anastazry 2 жыл бұрын
Thank you soo much for your video!
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,5 МЛН
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 53 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,5 МЛН
Fix Error "MySQL Shutdown Unexpectedly" in XAMPP [SOLVED]
5:08
The Code City
Рет қаралды 59 М.
Fix Error Apache Shutdown Unexpectedly in XAMPP [SOLVED]
3:04
The Code City
Рет қаралды 148 М.
[Solved] Error: MySQL shutdown unexpectedly
5:17
CSE Schools
Рет қаралды 37 М.
How to solve "Error: Apache shutdown unexpectedly"
6:26
ProgrammingKnowledge
Рет қаралды 11 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,5 МЛН