The MySQL Installation Package includes a MySQL preference pane that enables you to start, stop, and control automated startup during boot of your MySQL installation.
This preference pane is installed by default, and is listed under your system'sSystem Preferenceswindow.
The MySQL preference pane is installed with the same DMG file that installs MySQL Server. Typically it is installed with MySQL Server but it can be installed by itself too.
To install the MySQL preference pane:
Go through the process of installing the MySQL server, as described in the documentation atChapter 2,Installing MySQL on macOS Using Native Packages.
ClickInstallation Typestep. The "Preference Pane" option is listed there and enabled by default; make sure it is not deselected. The other options, such as MySQL Server, can be selected or deslected.
at theComplete the installation process.
The MySQL preference pane only starts and stops MySQL installation installed from the MySQL package installation that have been installed in the default location.
Once the MySQL preference pane has been installed, you can control your MySQL server instance using this preference pane.
TheInstancespage includes an option to start and stop MySQL, and recreates thedata/
目录中。 uninstalls MySQL Server and optionally the pain and launchd information.
TheInstancespage includes an option to start or stop MySQL, and recreates thedata/
目录中。 uninstalls MySQL Server and optionally the MySQL preference panel and launchd information.
TheConfigurationpage shows MySQL Server options including the path to the MySQL configuration file.
The MySQL Preference Pane shows the current status of the MySQL server, showingstopped(in red) if the server is not running andrunning(in green) if the server has already been started. The preference pane also shows the current setting for whether the MySQL server has been set to start automatically.