I updated to Mac OS Mojave and started experiencing this. If I logout of my machine it quits all running apps. MySQL gets quit in the process. Never did before. The Apache and DNS services of MAMP do not quit. Just MySQL.
Mostly I don't bother with MAMP, it just runs. It starts when my machine starts at 7am EST and runs until shutdown at 11pm EST. I have clients that access my development sites. So people started complaining.
I have come to this conclusion that I cannot logout once my machine starts. Ever. Or MySQL quits and my sites are not accessible. I do have my user preference set to lock my screen after 1 hour of inactivity. That does not quit any apps. That works.
If for some reason I want to inspect the MAMP app for setup or config settings to dismiss it I must go to it's icon in the dock, right-click, and choose Hide.
If I want to leave my office and want my machine secure I have to let lock itself up after the prescribed amount of time. If I choose Sleep that too with quit MySQL.
I don't know if this is an issue I can fix by tweaking the settings of either the OS or MAMP or if this is a "bug" of somekind.
Thanks.
Duane Mitchell
After updating Mac OS from 10.14.0 to 10.14.1 the issue has ceased to be a problem.
Related
I am able to successfuly connect to my instance at Google Cloud Platform using their gcloud command line tool, yet I find that if I go out to have a dinner or something, after I come back, the whole terminal will become unresponsive and I have to terminate the whole thing and restart again. My laptop is pretty old and I have the misfortune of living in a country where Google is banned ( but not the IP address where my website is hosted) But this shouldn't be a problem as I am running a VPN and I have no problem connecting to my instance at first. It is pretty slow but responsive, until it isn't if I leave it for a while. please let me know how I can assist in debugging in the comment. I am running debian on GCP and my lattop is Macbook pro mid 2014 catalina
On MacOS Mojave 10.14.5, local services relying on TCP connections have connections randomly aborted, resulting in errors like "Mysql has gone away" and Nginx connection resets.
Seems like the Mojave OS is monitoring and blocking TCP connections, even if the firewall is disabled.
I managed to get MySQL working in a docker image, however this is much slower than native MySQL service. Same applies to NGinx.
A lot of blog articles online cover this issue with MySQL, recommending to increase wait_timeout and max_packet_size, which does not work in this case as the issue is most likely not with MySQL itself (in fact, local Nginx seems also to be affected).
Just spent 2.7K on a brand new MacBookPro and feel like I can't work with it...
Any help?
Chatted with Apple Support, who recommended to do an SMC reset, which I have done twice and it did not help... They don't really offer support for the OS issues... Was about to return the MacBookPro and buy a Linux laptop...
... and then figured it out!!!
As part of installation instructions for a third-party VPN software, I have been asked to run the following command on my MacOS Mojave 10.14.5:
sudo spctl --master-disable
This was to allow ALL applications to be installed on the system, bypassing System > Privacy settings (adding a third option "Allow all"), basically working around the GateKeeper service to allow for the VPN app to install.
This was meant to be disabling GateKeeper, so it won't interfere with the application, however it looks like GateKeeper is still doing something shady, and actually causing the networking issues.
Anyway, it was enough to switch it back and restart the MacBook:
sudo spctl --master-enable
in Terminal and reboot.
Here's the situation. This morning after installing El Capitan DP8, I noticed that I was no longer able to connect to my WordPress blog. Firefox's status bar just says connecting, but it never connects. As a first recourse, I manually reinstalled WP 4.3, and set overall folder/file permissions in my WP directory to 777 as a test. Reinstallation and permissions change didn't help.
However, then I discovered that neither could I connect to any of the domains which I host with MAMP PRO. So my next step was to reinstall MAMP PRO 3.4, replacing the db and htdocs folders with my original ones. Still no success.
Mind you, I have no problem connecting to external websites via Firefox. It is just my local domains that don't work. Firefox just says "connecting", followed by the intended URL.
In addition, I have done the following, although not necessarily in this order:
Installed OS X El Capitan DP8 Firmware Update.
Installed OS X El Capitan DP8 a second time.
Verified that my "hosts" file is in order and not corrupted via nano.
Used "Sequel Pro" to check, and if necessary, repair all of the tables in my WordPress database. None required repair, and I can see all of the data in the tables going back four years.
Restarted my cable modem and Apple Airport Extreme.
Verified my LAN settings via Airport Utility.
Verified that the folder paths to my various domains are still correct in MAMP PRO.
Despite doing all of the above -- which included a few machine restarts -- I am still unable to connect to my local domains.
MAMP PRO starts up just fine, and all of my settings in MAMP PRO look fine. My ports are set to the default 80, 443 and 3306, as they have always been. I see all of my domains listed on the "Hosts" tab. My Apache and mySQL users are set to the suggested ones.
At this point, I am at a loss regarding what to do. Has anyone else encountered this? Do you have any possible solutions?
Thanks in advance.
Just came across this and had the exact my.cnf and renamed the latest version to something like my-old.cnf, restarted MAMP Pro and it worked.
Hope that helps others.
So here is what happens when i run xampp by clicking on the manager-osx.
I click on "manager-osx".
Icon jumps in the dock as if it is starting the service.
Asks for admin password. I enter the password.
It accepts the password, and application keep jumping in the docs for 3-4 times.
The app disappear from the dock.
The issue started after i have quit few processes from the activity monitor.
I am not sure what has affected xampp and can't remember what services i have stopped as there were many.
Solution applied so far:
Restarted my MacBook Pro.
Exit all other application and tried to run xampp.
Made sure no other application is running on port 80.
Removed xampp from applications and tried to reinstalled. Same issue with re-installation process, It asks for admin password and then nothing happens.
search online for any help but nothing helpful found.
I haven't got any experience with XAMMP but MAMP works always fine for me. MAMP has everything I need in terms of functionality.
I would recommend MAMP
If MAMP is not the best solution for you. You can install manualy
APACHE + PHP + MYSQL (It's not so hard)
Just go step by step using tutorial like
This
Manual installation will give you much more controll on your enviroment.
And also you will have better output to attach it here if you can't find a problems.
Of course it's little bit longer than 3 clicks. But on all production servers you need to install environment manually. This knowledge you will use later much more times. You will better understand how all is works and how to find reason of bug.(error)
I have Mac systems with os x10.6.8 and above. Installed XAMPP and everthing is working fine.
Its just that every time we shutdown, we again have to start apache and mysql from xampp control panel.
For this as user login is not administrator, we have to call our administrator to login every time and every day.
So, i was wondering if there is any way i can permanently start apache and mysql for the Mac system, using admin password once. And offcouse and stop it when ever required using amdinistrator password again.
Any help or idea on this will be highly appreciated.
Found a link with some info on this, don't know if it works in your case, but it's worth a try
http://www.softaculous.com/board/index.php?tid=3277&title=Start_APACHE_and_MYSQL_on_mac_os_x_boot_without_admin_password