Installing and Using the MariaDB Preference Pane
The MariaDB Package installer disk image also includes a custom MariaDB Preference Pane that enables you to start, stop, and control automated startup during boot of your MariaDB installation.
To install the MariaDB Preference Pane:
- Download and open the MariaDB package installer package, which is provided on a disk image (
.dmg
) that includes the main MariaDB installation package, theMySQLStartupItem.pkg
installation package, and theMySQL.prefPane
. Double-click the disk image to open it. - Double-click the
MySQL.prefPane
. The MariaDB System Preferences will open. - If this is the first time you have installed the preference pane, you will be asked to confirm installation and whether you want to install the preference pane for all users, or only the current user. To install the preference pane for all users you will need administrator privileges. If necessary, you will be prompted for the username and password for a user with administrator privileges.
- If you already have the MariaDB Preference Pane installed, you will be asked to confirm whether you want to overwrite the existing MariaDB Preference Pane.
The MariaDB Preference Pane only starts and stops MariaDB installation installed from the MariaDB package installation that have been installed in the default location.
Once the MariaDB Preference Pane has been installed, you can control your MariaDB server instance using the preference pane. To use the preference pane, open the System Preferences... from the Apple menu. Select the MariaDB preference pane by clicking the MariaDB logo within the Other section of the preference panes list.
The MariaDB Preference Pane shows the current status of the MariaDB server, showing stopped (in red) if the server is not running and running (in green) if the server has already been started. The preference pane also shows the current setting for whether the MariaDB server has been set to start automatically.
- To start MariaDB using the preference pane:
Click Start MariaDB Server. You may be prompted for the username and password of a user with administrator privileges to start the MariaDB server.
- To stop MariaDB using the preference pane:
Click Stop MariaDB Server. You may be prompted for the username and password of a user with administrator privileges to stop the MariaDB server.
- To automatically start the MariaDB server when the system boots:
Check the check box next to Automatically Start MariaDB Server on Startup.
- To disable automatic MariaDB server startup when the system boots:
Uncheck the check box next to Automatically Start MariaDB Server on Startup.
You can close the System Preferences... window once you have completed your settings.