mysql-macports

AliasCommandDescription

mysqlstart

sudo /path/to/mysql.server start

Start the MySQL server.

mysqlstop

sudo /path/to/mysql.server stop

Stop the MySQL server.

mysqlrestart

sudo /path/to/mysql.server restart

Restart the MySQL server.

mysqlstatus

mysqladmin5 -u root -p ping

Check whether the MySQL server is running.

Last updated