the fact that you’re not using a windows operating system puts you in awkward corners
when I got my Mac, I thought I had conquered life’s problems. What I’m slowly and painfully realizing is I created a new problem. If all I wanted to do was watch Netflix and cat videos on youtube all-day — It would have been the perfect laptop fit. But I’m an aspiring SQL programmer, or bro, or whatever industry jargon they use.
On Windows, it’s straightforward. You don’t have to install 2 billion applications just to get 1 thing done. Before I rant all day and forget to share practical examples with you — let me first take you through the first steps of diving into SQL programming.
If you’re a Mac user (and can’t throw away your PC) this is the first thing to do.
Download Docker via this LINK
After running the installation — open the terminal app on your Mac, by clicking the Launchpad icon:
and searching for ‘terminal’:
On opening it, run this script:
sudo docker pull mcr.microsoft.com/mssql/server:2019-latest
Get ready for your first frustration. Now, I'm not exactly sure if it’s a general problem or a Mac problem. I'll like to believe it’s the latter.
The following line pops up with a password entry option. You’ll attempt to type, but nothing types on the screen. You’d begin to doubt yourself and your faith in God.
Take a deep breath—type in the password of your Mac. You should be fine.
I ran into another problem because npm wasn’t installed.
At this point, I was prepared to hang my boot and settle for a $17/hr factory job. Because why can’t things be easy?
Anyway, I found another video that helped me out:
finally, everything is installed, and I’m ready to be an SQL-bro.
The tutorial that helped me from start to finish is HERE. I recommend it.