On machines running Debian or Ubuntu:
- systemctl enable mysql.service
- systemctl restart mysql.service
On machines running CentOS or Rocky Linux:
- systemctl enable mysqld.service
- systemctl start mysqld.service
On machines running Redhat Enterprise or Fedora:
- chkconfig mysqld on
- service mysqld start