Restart MySQL following the steps below for your platform.
- Linux
- Type one of the following at the command prompt followed by pressing the Return key:
/etc/init.d/mysqld restart service mysqld restart service mysql restart
- Windows
Launch Command Prompt.
- Type both of the following commands, each followed by pressing the Return key:
net stop MySQL80 net start MySQL80Note:The service name
MySQL80may vary.
- Mac
Open System Preferences.
Click on the MySQL preference pane.
Click the button to stop and start MySQL.
Alternatively, for MySQL 5.7 or later, type both of the following commands, each followed by pressing the Return key:sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist sudo launchctl load -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist