Opened 15 years ago
Last modified 15 years ago
#20365 closed defect
MySQL plist file creating unmanaged launchd jobs on boot — at Initial Version
Reported by: | conradwt (Conrad Taylor) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | mysql5 |
Description
I'm using Mac OS 10.5.7 and launchd plist script for MySQL Server 5.0.81 appears to be creating unmanaged jobs. For example, the
sudo launchctl list | grep mysql
137 - 0x10b050.mysqld 137 - 0x10a2a0.mysqld
Note: The above are anonymous jobs on Mac OS 10.5.7 that
cannot be unloaded.
However, there's no way to manage these jobs because there's no associated plist file to unload them. At this time, the process is running:
ps ax | grep mysql
98 ?? S 0:00.02 /bin/sh ./bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/darnoc-desktop.local.pid
137 ?? S 0:01.06 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/darnoc-desktop.local.pid
Thus, Damien Sorresso recommends the following:
add a "-launchd" flag to the startup options