mysql -u root -p
SHOW DATABASES;
SHOW VARIABLES;
SHOW STATUS;
https://stackoverflow.com/questions/10474922/error-2006-hy000-mysql-server-has-gone-away
SET GLOBAL max_allowed_packet=1073741824;
https://stackoverflow.com/questions/7973927/for-homebrew-mysql-installs-wheres-my-cnf
Where to find it
sudo /usr/libexec/locate.updatedb
# wait a few minutes for it to finish
locate my.cnf
brew services stop mysql
brew services start mysql