Monthly Archives: August 2020

How to install MySQL on mac

By | August 7, 2020

To install and start MySQL on a mac, run these commands: brew install mysql mysql.server start Useful commands to start and log in. mysql.server stop mysql –version or mysql -V brew info mysql mysql -uroot //to log in. (No password needed). Useful commands within MySQL: show databases; create database <NAME_HERE> mysql -u username -p new_database… Read More »

Category: OSX

How to install Vagrant on MacOS

By | August 2, 2020

brew cask install vagrant It is pretty straight forward. Then to install virtualbox, just run: brew cask install virtualbox Create a vagrant folder and then run the init command: mkdir vagrant/ubuntu cd vagrant/ubuntu vagrant init ubuntu/xenial64 The ubuntu/xenial64 option is basically pointing to the vagrant “box” or the OS hosted at vagrantcloud.com. What happens is… Read More »

Category: OSX

How to test the brew instance of Apache

By | August 2, 2020

If you are looking to work with Apache on OSX you have probably been advised to not use the Apache 2.4 pre-installed version because Apple has removed some required scripts, especially in the macOS 10.15 Catalina release. Here are the commands to run to install Apache via brew. First shutdown Apache and unload any scripts.… Read More »

Category: OSX