Тёмный

Why MySQL won't start on OS X 10.11 El Capitan, and how to fix it (XAMPP) 

HandyAndy Tech Tips
Подписаться 24 тыс.
Просмотров 67 тыс.
50% 1

Today, I'll show you how to fix a problem with MySQL in XAMPP not running on the latest version of OS X, 10.11 El Capitan. This tip might also work on the previous version of OS X, 10.10 Yosemite.
Here's the code to type: unset DYLD_LIBRARY_PATH
--
If you enjoyed this video, please make sure to like it! And if you want more how-to videos, then subscribe to HandyAndy Tech Tips to get all of my latest tutorials.
--
PARTIAL VIDEO TRANSCRIPT:
Hi, it's HandyAndy Tech Tips here, and today I'm going to be telling you how to fix a really annoying bug with the version of MySQL
bundled with XAMPP. Now, on some people's Macs - and this has been known to happen under both Yosemite and El Capitan - MySQL just refuses to start - you can click the start button as many times as you like, and the status goes to Starting, and then eventually, after a long wait, goes back to stopped again. Here's two solutions to fix this bug.
So the fix that I'll show you first is the easiest one. Simply go to your Applications folder, scroll down a bit and double click on your XAMPP folder, find the etc folder and double click on that, and then inside this folder you will find a file called my.conf. You'll want to open this in a plain text editor like TextEdit. So I'll right click on the file, go to Open With, and then click on Other. It'll then open this window with all your installed applications. Just scroll down until you find TextEdit, and then click open. Now we've got the file open, and after finding this section down here, the one that begins with The MySQL server comment, you simply just want to change the port number, which is 3306 at the moment, to 3308. So do that, save the file, and close and reopen XAMPP. MySQL should start up perfectly!
But what if this fix simply doesn't work for you? Then, believe it or not, there's another option, but be warned that it is more challenging. So to start off with, you want to open your Applications folder, go to the XAMPP folder, and double click on xampp files. Now inside this folder, there should be a file called, quite appropriately, XAMPP! So you want to open this file with a plain text editor, so I'll right click on it, go to Open with, click Other, and then scroll down until I find TextEdit, and then click Open. So this is the file, and you can see that it looks a bit more complicated than the other one. But what we need to do is actually quite simple. Just scroll down until you find the function to start MySQL, so here it is, and then all you need to do is before this line, this XAMPP Root bin mysql server line, just type unset DYLD_LIBRARY_PATH. Just like this. If you want to make sure you type it correctly, I've put it in the description of this video, so you can simply copy and paste it in. Now all you need to do is save this file, close it, and then close and re-open XAMPP. You should have MySQL back up and running in no time.
So I hope that these solutions helped you solve the issue. If they did, then please subscribe to my channel for more tech videos, and do feel free to give this video a like. I'm HandyAndy and thank you so much for watching!
--
Why MySQL won't start on OS X 10.11 El Capitan, and how to fix it (XAMPP)

Наука

Опубликовано:

 

20 окт 2015

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 191   
@micahdaley-harris7344
@micahdaley-harris7344 7 лет назад
You have no idea how long I've been trying to fix this issue. Thanks so much!
@HandyAndyTechTips
@HandyAndyTechTips 7 лет назад
I'm really glad it helped you! Thanks for watching.
@denisstuja7118
@denisstuja7118 2 месяца назад
this video is 8 years ago and this master fixed my problem thank you bro.
@yasingunaydiin
@yasingunaydiin 13 дней назад
Where is XAMPP?>>?????
@anassmerzak9909
@anassmerzak9909 2 года назад
Seven years after your tutorial still work thanks bro !
@buuxinbeat9530
@buuxinbeat9530 15 дней назад
10 :)
@luisv8887
@luisv8887 8 месяцев назад
woah 7 years later and changing the port number worked! Surprised because i thought it wouldn't work since it's been so long. Thank you!
@fredrickkimani8002
@fredrickkimani8002 2 года назад
this has made my day so much easier this had me worked up for too long
@pellejuel
@pellejuel 8 лет назад
Hello. It dosen't work for me. It just keep on stopping
@harsha201015
@harsha201015 8 лет назад
You made my day Andy, I was about to switch to windows from Mac just for development...
@HandyAndyTechTips
@HandyAndyTechTips 8 лет назад
+Harsha M I'm really glad it helped you and thanks for watching!
@BerttoDiSimpson
@BerttoDiSimpson 7 лет назад
It helped me a lot, not even stack overflow solved my problem.. Thanks, mate :) cheers
@CWReace
@CWReace 7 лет назад
Thanks! The "simple fix" did the trick for me.
@aybeepyae
@aybeepyae Год назад
Thank you so much for this video.. I've been looking for its solution the whole day. You will never know I appreciative I am ..
@fredosundwa
@fredosundwa 2 года назад
Thank you for this extremely invaluable video, sorted my problem Pap!!!
@deeptimishra1051
@deeptimishra1051 2 года назад
thanks a lot sir ...tried so many things for last seven days finally your video helped me.
@developer_AI.
@developer_AI. Месяц назад
struggling for 2 days, now it fixed, thank you 🙏🙏
@stevemullen3666
@stevemullen3666 Год назад
struggled with this for hours, thank you
@jaimecamacho9718
@jaimecamacho9718 8 лет назад
Excellent it worked for me, thanks so much very well explained !!
@reginaldqepps3657
@reginaldqepps3657 3 года назад
THANK YOU SO MUCH THIS WORKED I'VE BEEN TRYING TO DO THIS FOR 20 HOURS !!
@andrespatel2885
@andrespatel2885 8 лет назад
worked to me on OS El Capitan but i had to reset my mac then everything work perfect. Thank You.
@avnibhardwaj3602
@avnibhardwaj3602 Месяц назад
Thank you , it worked for me in the first go. And the easiest solution that you mentioned in the first worked like wonders.🥰
@ayushikhullar8818
@ayushikhullar8818 Год назад
This helped me a lot THANKS !! the easy way worked successfully. REALLY HELPFUL VIDEO.
@prithviraj627
@prithviraj627 4 месяца назад
Thanks you so much Chaging mysql port number gets done my work 🎉
@C__ZiaulHoque
@C__ZiaulHoque 2 года назад
THANKS DUDE ISTS WORKING,I LOST LOTS OF TIME ON IT,BUT YOUR EASY SOLLUTION WORK FOR ME
@devingray4062
@devingray4062 8 лет назад
Bro you saved my life. This fix works for both Xampp and AMPPS. I love it!
@thecalledoutones7776
@thecalledoutones7776 8 лет назад
+Devin Gray Can you help me since you have fixed your problem. I cannot even find the "etc" folder that he is speaking about. It doesn't exist under the xampp file I have downloaded.
@devingray4062
@devingray4062 8 лет назад
I don't have it installed anymore so I wouldn't know where to start. But he had a shortcut to the "etc" folder in his Xampp folder. The etc folder is actually a hidden directory, if I remember correctly. You'd be better off googling how to get to your etc folder in the root of the Macintosh HD directory, or maybe find a way to access it through the terminal.
@devingray4062
@devingray4062 8 лет назад
The Calledoutones777 ^^
@ritikbaranwal6652
@ritikbaranwal6652 2 года назад
Thank you to making this video which solve my problem, thank you once again.
@habeebiiiii
@habeebiiiii 2 месяца назад
still works like a charm thank you
@danielwalker5959
@danielwalker5959 8 лет назад
Awesome first one worked perfectly. Thanks!!
@khalifaharuna9852
@khalifaharuna9852 2 дня назад
Very useful video. Thank you!
@deepthisatish12345
@deepthisatish12345 7 лет назад
thanks a million. :) i have been trying to fix this for like 6hours.
@dipo4647
@dipo4647 5 лет назад
Thank you, it really helped me to solve this problem.
@HandyAndyTechTips
@HandyAndyTechTips 8 лет назад
The predecessor to this video - "Why MySQL won't start on OS X 10.10 Yosemite" - was released a year ago now, and was my first ever video to exceed 1, 000 views. Now, with the release of OS X El Capitan, I've updated it, with a new method and far, far higher production values :-) Tell me what you think!
@garymiller372
@garymiller372 7 лет назад
HandyAndy Tech Tips Hello bro please can you do a video for MAMP? MySQL Server won't start. I have ran all the codes terminal yet it won't start. Please I need your help. I am using MacOS Sierra
@reinoutvlaanderen362
@reinoutvlaanderen362 7 лет назад
I have this problem where the code 'unset DYLD_LIBRARY_PATH' there already is, but the MySQL Database still won't start. I know it is a year ago, but I really need your help.
@agarsuyashji
@agarsuyashji 7 лет назад
Same problem with me. In addition, i am using MacOS Sierra. Did you get the solution?
@pattymatty633
@pattymatty633 Год назад
Thank you so much!! The first solution did the trick immediately
@mewanfernando7426
@mewanfernando7426 7 месяцев назад
After watching so many videos, spending hours!! just found the solution.
@victorkweka2633
@victorkweka2633 8 месяцев назад
Thank you, the easy solution worked!
@jollywgiant1760
@jollywgiant1760 8 лет назад
SOUND MAN :D That fixed the problem, been trying to get this crap to work for like a week now :/
@jesrey4049
@jesrey4049 3 года назад
This worked for me! Thanks!
@hemantvc
@hemantvc 7 месяцев назад
Fantastic job, you've saved the day!
@anisargsyan3805
@anisargsyan3805 7 лет назад
Thank you! Have finally fixed that.
@MDSabbirHosen-kd6nw
@MDSabbirHosen-kd6nw 5 месяцев назад
Thank you man. you save my time
@amoghlakkanagavi10
@amoghlakkanagavi10 5 лет назад
extremely helpful thank you!!
@diltharanethmini9397
@diltharanethmini9397 5 месяцев назад
It's working. Thank you very much.
@omaraldulaimi6436
@omaraldulaimi6436 6 лет назад
Its work for me, thank u very much!
@Gabriel.bombardi
@Gabriel.bombardi Месяц назад
thanks bro, this saved my project
@GabrielGomez-zj5iw
@GabrielGomez-zj5iw 7 месяцев назад
Thank u bro, i love you!
@user-sh2gl3fw2w
@user-sh2gl3fw2w 10 месяцев назад
works like a charm thanks mate
@catalinaotarolaarriagada3401
@catalinaotarolaarriagada3401 4 года назад
It worked! Thank you so much :)
@mino_z3308
@mino_z3308 Год назад
Worked ! Thanks dude
@andrei7473
@andrei7473 5 лет назад
Thanks man! The first way worked!
@jasmineawatramani1318
@jasmineawatramani1318 4 месяца назад
Thank you, works after 8 years as well :D
@scottlmnop
@scottlmnop 7 лет назад
thank you! worked perfectly.
@CalistoLP
@CalistoLP 5 лет назад
Worked for me - after i started MySQL manually using a root login and the terminal instead of starting it otherwise ^_^
@mustaphamomo9315
@mustaphamomo9315 2 месяца назад
best explain, thanks a lot !
@IanSirius
@IanSirius 8 лет назад
I friking love you!!!!!! i will thank you in may graduation
@mehmetcelepkolu1708
@mehmetcelepkolu1708 8 лет назад
Thanks! It worked! :)
@elaineregina-googledeaaz9836
@elaineregina-googledeaaz9836 8 дней назад
its may 24 and worked fine on my 2020 m1 sonoma macbook. thanks
@gussfebry3662
@gussfebry3662 5 лет назад
thank you sir,this video can to help me:)
@Jollyprez
@Jollyprez 8 лет назад
Similar problem on Mavericks - works for a little while, then stops, and won't start again. The unset DYLIB is already in the xampp file, and the other fix doesn't work, either. Any ideas? Stopped my development cold.
@enriqueatala2567
@enriqueatala2567 4 года назад
Hello, thanks for the help, I ask you why your solution did not work for me. First I made the easy and changed the port with 8 at the end, it did not work. Then I used the hard one without touching the my.cnf file (that is, I left it finished in 8) and I found myself in a hard solution that the line you. asked to add it was already written. I ask, in the my.cnf file should I go back to the port ending at 6 and then do the hard solution or should I leave it at 8? One more thing, the first time I installed it everything except FTPD went and now it only starts Apache. Cheers
@meghatyagi9761
@meghatyagi9761 5 лет назад
Thanku sir.... it's really helpful thanks a lot.....
@sammychafiqui1817
@sammychafiqui1817 5 лет назад
Thanks brother making it port 3308 solved the problem
@SandBox1
@SandBox1 4 года назад
Thank you . I am really Happy
@zstolen2110
@zstolen2110 5 лет назад
You saved my day Thanks
@andrewli-yangliu9555
@andrewli-yangliu9555 7 лет назад
Amazing. Thank you.
@maxlainer2933
@maxlainer2933 6 лет назад
BEST VIDEO EVER THANKS BROOOOO!
@dirkwangke9476
@dirkwangke9476 4 года назад
it works on simple step. Thanks God
@schnatti5379
@schnatti5379 2 года назад
Thank you soo much!
@swabhinavkumar5296
@swabhinavkumar5296 8 лет назад
thanks , it worked for me
@Marcus_Rei
@Marcus_Rei 6 месяцев назад
It works, thanks my boss
@josephastrahan6403
@josephastrahan6403 8 лет назад
Strangely the edits were 'already' there by default for startMySQL, and I can't change the port numbers since I have programs dependent upon that. Both Apache & MySQL don't start up. Any ideas?
@simranvaishy3729
@simranvaishy3729 2 года назад
Thanku so much.. It worked :)
@bhumikadesai5204
@bhumikadesai5204 7 лет назад
Hi, This was helpful. Can you also show how to start Apache web server? I tried changing the port but it is not helping.
@hermanfrancoaguirrejofre8681
@hermanfrancoaguirrejofre8681 7 лет назад
Thank you very much!
@webdevtech9724
@webdevtech9724 3 года назад
Thank you sooo much!!
@davinos469
@davinos469 6 лет назад
Muito obrigado ! resolveu meu problema.
@kregkaleva1926
@kregkaleva1926 7 лет назад
Hello Bro please can you do a video for MAMP? as my MAMP mySQL Server is not working. when i start the video, only the APACHE starts but the mySQL server does not start. How can i rectify this problem?
@Sirjobzy
@Sirjobzy 8 лет назад
Excellent.
@foxscullyxf
@foxscullyxf 7 лет назад
ma - man !!! it worked ... awesome dude
@ovidiovermenouze4134
@ovidiovermenouze4134 4 года назад
Thanks you so much.
@FarzadSlamdien
@FarzadSlamdien 8 лет назад
Hi there, had the same issue where it kept crashing, here is how i solved it: by the setting where you altered the first port to 3308 or 3307, there is a user which i set to "root". MySQL was able to boot up from there
@Pranav_m_Mistry
@Pranav_m_Mistry 7 лет назад
Both the tricks not working for me. could you suggest something. I'm on Yosemite.
@thecountofsuede
@thecountofsuede 7 лет назад
YES! Thank you!
@goldenphoenix6500
@goldenphoenix6500 Год назад
This did not work for me I tried the first one and the second one was already in the file when I opened it. what should I do?
@osozznanie
@osozznanie 8 месяцев назад
ty very match , 2023 keep working
@dwidianaw2028
@dwidianaw2028 6 месяцев назад
Thanks god and HandyAndy
@alexpetes23
@alexpetes23 7 лет назад
Thank you!
@amn7022
@amn7022 19 дней назад
This is actually working.
@sivakamasundari87
@sivakamasundari87 8 лет назад
Excellent, was searching for this around a day.. Thanks a lot Handy, really you are great. Is there a solution to fix the same kind of issue faced on Apache Web Server ?
@lamaalsharyan5187
@lamaalsharyan5187 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-GxSlL3kjSac.html
@viettiep9769
@viettiep9769 6 лет назад
thank you, it works
@sahaniexplorer
@sahaniexplorer 7 месяцев назад
you are great man
@Charlotte-ie3vv
@Charlotte-ie3vv 8 лет назад
Hey thanks for this video I did everything you did (I checked twice) but it still doesn´t want to work, I need for more advise please!!
@sergiozeno3197
@sergiozeno3197 8 лет назад
YOU ARE THE MAN!
@syedammad1311
@syedammad1311 5 месяцев назад
Thanks man
@WeRro02
@WeRro02 6 лет назад
it worked perfectly!
@xadrequesarea4530
@xadrequesarea4530 2 года назад
thanks it worked
@gsbhuvnesh
@gsbhuvnesh 8 лет назад
The two edits described did not work me also
@ben-nyb3533
@ben-nyb3533 3 года назад
thank you!
@filmrecapes
@filmrecapes 9 месяцев назад
thank you so much
@joaogirundi4266
@joaogirundi4266 Год назад
Thanks!
@akshay.ppvvtt
@akshay.ppvvtt Год назад
Thanks !!
@thecalledoutones7776
@thecalledoutones7776 8 лет назад
I don't have a atc folder in the xampp, why? I only have a scr folder that is the closes that I have to this. Why can't I find this folder?
@basi05
@basi05 5 месяцев назад
Helpful
@lucasorellana7957
@lucasorellana7957 3 года назад
You are the man!
Далее
OPENSOURCE НЕ БЕЗОПАСЕН? (2024)
17:20
Просмотров 21 тыс.
We built the FORBIDDEN MAC
14:55
Просмотров 82 тыс.
zsh command not found mysql - Fix Provided
6:21
Просмотров 22 тыс.
SSH Keys
10:12
Просмотров 97 тыс.
Google Pixel 8 Pro #apple #googlepixel #iphone
0:17
Просмотров 14 тыс.
iphone fold ? #spongebob #spongebobsquarepants
0:15
Просмотров 184 тыс.
Крохотный и быстрый SSD на 2 ТБ
0:59