How to start, stop, and restart a MySQL database server?

This is just a guide on how to start, stop, and restart MySQL Server on macOS, Linux, and Windows in case you forgot. 1. On Mac You can start/stop/restart MySQL Server via the command line. For the version of MySQL older than 5.7: sudo /usr/local/mysql/support-files/mysql.server start sudo /usr/local/mysql/support-files/mysql.server stop sudo /usr/local/mysql/support-files/mysql.server restart For the MySQL […] More

submitted by


curl: (6) Could not resolve host: bash

DigitalOcean Problem: curl: (6) Could not resolve host: bash.  – Upgrade from the Legacy Metrics Agent to the Current Agent Download the Script: curl -sSL https://insights.nyc3.cdn.digitaloceanspaces.com/install.sh -o /tmp/install.sh Run the Installation: sudo bash /tmp/install.sh Problem: Bash is not use a shell in the server so downloading the script and installing it manually would work “using […] More

submitted by