Monthly Archives: November 2020

How to run MySQL in Docker?

By | November 15, 2020

Getting MySQL up and running in Docker is very easy and fast but there are a few subtle things to note. Firstly there are 2 apparent options. or These handful of words are deceptively simple but you really need to understand what is happening under the covers. docker run mysql Firstly, the docker run mysql… Read More »

Docker pull mysql v mysql/mysql

By | November 15, 2020

Have you ever read articles where sometimes you see the docker command and sometimes and thought to yourself what is the difference? You can find out the difference by going to Docker Hub at: v Firstly, mysql is labeled the “official image” with over 1 billion downloads. The mysql/mysql-server is an “Optimized MySQL… Read More »

Installing MySQL on OSX

By | November 10, 2020

There are 2 main ways to install mySQL on OSX. Using Homebrew or a .dmg installer from MySQL. Here I’ll go over the MySQL installer because you get a neat panel to start and stop the database. MySQL installer Head over to and download the latest community version and then run through the install… Read More »

How to configure Apache to run PHP on OSX

By | November 8, 2020

Navigate to: /etc/apache2/httpd.conf and search for php. You should see: Remove the # which is uncommenting that line. Save the file and then restart Apache with the command: As a quick test, if you place a small php file in your web server directory (/Library/WebServer/Documents/) you should be able to run it. The other option… Read More »

Apache 101 on OSX

By | November 8, 2020

Did you know that you have the Apache web server already installed on your Mac? To test, run this command: Great. So you have proved that you have Apache. Now what? Let’s practise starting and stopping it. To start it, the command is apachectl start, but if you are not a root user, you’ll get… Read More »

Category: OSX