This it made me think it still was a vhost configuration issue. Let me change the folder permissions to 777 just to test.” So I did that and it still didn’t work. So my linux side clicked in and thought “Hrm, it looks like there is something wrong with the permissions. So my vhost would point to a directory like with a name something like this: “/SVN_Repositories/ExampleRepo/trunk/httpdocs/” #Mysql xampp for mac proSo on my MacBook Pro at / I did the same, I had my SVN_Repositories folder. I would have a folder at the root of that drive called SVN_Repositories that holds all the SVN Repositories I use for work. #Mysql xampp for mac windowsThe way I used to do it on Windows is I have a partition for all of my development files. I don’t understand exactly why this was happening, but I kept gettinga Permission Denied when trying to view the vhost I was trying to setup. #Mysql xampp for mac mac os xMac OS X has additional permissions that are different from Linux It started behaving like I expected! This lead my to my third hang up. Finally I figured out what was going on and I had to execute this command instead: So it all my debugging with the config files, etc. There was just one problem, it was executing the apachectl that was installed by Mac OS X, not the one for XAMPP. So when I cd’d into the bin directory, I would execute this command: There is just one problem, OS X already has a version of Apache installed. When I was trying to debug why stuff wasn’t working, I opened up the terminal and started running commands. This led me into my next problem: Mac OS X comes with a Version of Apache Installed It took me awhile to figure out where everything was at. On windows the binary files are in their own folders. The php.ini file is different, and all the binary files are in /xampp/xamppfiles/bin/. After digging into it, the file structure and config files are pretty different. #Mysql xampp for mac for macMy first mistake was that I assumed that XAMPP for Mac is the same as XAMPP for Windows. Mac OS X has additional permissions that are different from Linux.Max OS X comes with a Version of Apache Installed.XAMPP for Mac is different from XAMPP for Windows.The problem I ran into getting XAMPP to run on my MacBook Pro were the following: All my headaches started when I tried to get my vhosts installed and working. Installing just XAMPP and getting it to run with the Control Panel was easy. I’ve been running it on my Windows machines for years, and I have been running my production servers on Linux. For those who don’t know, XAMPP is tool for developers to run a LAMP stack (Linux, Apache, MySQL, PHP) on your machine locally. If you have any better let me know in comment.These last few days I’ve been trying to get XAMPP to work on my MacBook Pro these last couple of days and it has been frustrating! It seemed I kept running into more and more problems. Remember that this is the workaround solution. So, you have to repeat these steps again. NOTE: This problem will be faced again, after you restart your Mac OS X. The progressing status will show “Running”. Step 6: Open XAMPP Manager and click “Start” button to start MySQL Database again Remind that if you didn’t passed this step your all tables will be read only. Step 4: Edit the my.cnf again and remove the line you just added Step 2: Open the file and find the section Applications/XAMPP/xamppfiles/etc/my.cnf Step 1: Go to your Finder and edit the file as the following path below. But today we serve many sites and found the great one that is workaround solution for this case. We click “Start” button again and again but the result still the same.Īctually, we still can’t find the exactly solution for the problem of MySQL Database doesn’t start in XAMPP on Mac OS X. So, we attempt to wait until the progressing status are finish, and we found that it backward to the status of “Stopped”. The progressing are show status for “Starting…” for 3-5 mins, and we think that these are abnormal situation because of the starting process will take time for 1-2 mins as normally. We try to click “Start” button on the right hand side to start MySQL Database in XAMPP on Mac OS X. So that why we are here and provide our solution to everyone. MySQL Database Doesn’t Start in XAMPP on Mac OS XĪre you struck in the same problem ? A last couple of weeks we have found some problem in XAMPP on our Mac OS X.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |