Mac - MySQL

mac

How did I install MySQL server onto my MacBook?

brew install mysql

To start mysql server and have it automatically started at login, I did:

brew services start mysql

Since this installation was on my personal Macbook Pro, I did not secure the installation by running mysql_secure_installation. This means that I can connect as root without having to specify a password:

mysql -u root
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License