10/14/2021 0 Comments Mysql Dmg For Mac Os X
Question or issue on macOS: I downloaded and installed MySQL 5.1.47 for OS X 10.6 using the DMG archive: mysql-5.1.47-osx10.6-x8664.dmg I also installed MySQL.prefPane and MySQLStartupItem.pkg. MySQL.prefPane is a Preference Pane. The problem is, whenever I attempt to start/stop MySQL from the Preference Pane, System Preferences just hangs.
![]() ![]() Mysql Dmg Mac OS Time Zone/usr/local/mysql/data/`hostname`.pid). Create a /etc/my.conf or ~/.my.conf file with the pid-file option specifying the path to the PID file (e.g. Default - time -zone = UTCStart server using plist file (check your plist path/name!):Sudo launchctl load -w /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plistI then loaded MySQL time zone tables from Mac OS time zone files: mysql_tzinfo_to_sql /usr /share /zoneinfo | mysql -u root -password="YOUR_PASSWORD_HERE" mysqlI then stopped MySQL and restarted using my plist file.Sudo launchctl unload -w /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plistAfter that, I was able to stop/start using the preference panel!Other solutions here didn't work for me, but I cobbled together my own solution with the help of this bug ticket: (specifically the comment by BuB Javier)Create a /bin/pidof file using the code from # ! /bin /sh I had to comment out that line. The issue for me was the time zone tables AND Stephen's answers.Edit /usr/local/mysql/support-files/mysql.serverI had a default-time-zone set to UTC. I tried Jamie Wong's and carloandaya's suggestions, both did not work.Old stack overflow post! The world has changed a great deal, and I wanted to share my solution to this problem.If it doesn't work for you, try changing some file permissions. After doing the two steps above, the preference pane was working again. Apparently specifying the pid-file location in the mysql.server file doesn't work.I did change some permissions to _mysql:wheel here and there as frequently suggested, but I'm not sure that mattered in my case.
0 Comments
Leave a Reply. |
AuthorMike ArchivesCategories |