I'm just going to say slash from now on because a UNIX slash is always the forward slash. And then, L-N, dash s, and then a forward slash. So follow along, but don't press Return at the end. The dollar sign is where you type the command, and I'm going to type a command here, and then we're going to go back, and I'll explain it before we press Return. In fact, it's the largest installed base of any UNIX variant and so this is a UNIX command line. Just be very careful and pay close attention to every character that you type. Spelling and punctuation is critical here. But a word of warning, type very carefully. This step is important, especially if you want to access the command-line interface in the future, and if you're taking some of my other courses on or on LinkedIn, you may want to have this. #Downoad mysql for mac install#Later, we're going to install the graphical interface, the MySQL Workbench. I'm going to walk you through this, literally character by character so that we don't make any mistakes. Now, this may be intimidating for some of you if you've not used the UNIX command line before. And you notice I get this UNIX command prompt. It's operated from the command line so I run Terminal, the Apple macOS Terminal program. Now, the command-line interface, sometimes called the CLI. #Downoad mysql for mac password#And at least for our purposes here, we want to use the Strong Password Encryption, so that we can use it. And I get this choice: Use Strong Password Encryption or Use Legacy Password Encryption. This is the password for my computer that I'm installing this on. We're going to have different passwords involved in this process so I just want to be clear. I'm going to type the password for my computer here. #Downoad mysql for mac license#So I press Continue, and I press Continue, and I accept the license agreement which I have not read. And if you've installed anything on your Mac, most of this is very familiar. I opened up this DMG file and I get a Mac installation package, a pkg file, and so I'll double-click on that, and I get this little warning that's going to run a program to determine et cetera. It's the exact same process for downloading both of them. And I've also downloaded the MySQL Workbench. And so, I've already downloaded that onto my desktop here and it's right here. And you notice that when I hover over that, I get the DMG file. You just press No thanks, just start my download. If you do that, you're going to get a ton of email, most of it asking you to spend money on stuff you don't need so I didn't do that. And when you press Download, you get yet another page and this page asks you to login or just sign up. When you click on this, you'll see, you'll get a page with a bunch of stuff, and then down here, have an operating system selected, in this case, macOS because I'm doing this on a Mac, and you'll have a bunch of different choices here. #Downoad mysql for mac download#And so, I've already download both of these to my desktop, but I just want to run you though this really quickly. MySQL Community Server and then farther along down, MySQL Workbench. So down here under the MySQL Community Downloads, we'll notice a couple of items. #Downoad mysql for mac free#The Community edition is free and it doesn't cost anything at all. See, Enterprise edition cost money and if you're not running an enterprise, we're just running this for yourself, and in this case, we're just using this for development, and really just for learning so the Community edition is exactly what we want. Significantly, the Enterprise and Community editions. Now, there's several different editions of MySQL. And so, we have the MySQL Community Downloads. And I've got DOWNLOADS here selected and Community selected. So here I have /downloads and I've loaded this up in my browser. So I'm going to press Command + Q to quit the System Preferences, and now we'll go ahead, and download MySQL from the website. If MySQL Server was running on this computer, there would be a little highlight around one of these items for the MySQL panel, but we don't have that, and so MySQL Server is not running on this computer. and you'll notice that nothing is highlighted here in the System Preferences. First, we need to confirm that we're not already running MySQL Server on this computer. The process should be the same on any modern version of macOS. We'll install the MySQL Server on a Mac running macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |