Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Installing XAMPP on the Mac

From: MySQL Essential Training

Video: Installing XAMPP on the Mac

In this movie I'm going to show you how to install XAMPP on a Mac. And it brings up this installer, and I just double-click on this installer.

Installing XAMPP on the Mac

In this movie I'm going to show you how to install XAMPP on a Mac. XAMPP is spelled X A M P P. It's a package that includes the Apache web server and MySQL and PHP and a bunch of other things. And we're going to be using it for running the examples in this course. So you need to install it on your machine if you want to follow along with the examples in this course. Before you install XAMPP there's a couple of things you'll need to do. One is to check your system preferences and you want to make sure that you're not already running a web server.

So under Sharing here, if you see Web Sharing you want to make sure it's unchecked. If you have the very latest version of OS X you probably will not see web sharing here and that's fine, that means that you're probably not already running a web server. But if you're using a version of OS10 earlier than 10.8, I believe it is, you might have web sharing here and it might be checked. And that means that Apache is already running on your machine. You want to uncheck that and quit that version of Apache before installing and running this other one.

So I'm going to quit system preferences with cmd+q. And next I want to install a text editor so I'm going to come up here to the app store and I'm just going to search for Text Wrangler. There it is Text Wrangler is free, you see it's already installed on this Mac. If it's not already installed on yours, you'll want to just click the free installation button there. It's an excellent text editor. You see it gets great reviews and we'll be using it in this course.

Just want to press command Q to quit the app store. And now here on the Apachefriends.org website. This is where you would get ZAMP from and there's a download button here for Apple. I'm going to ask you though to download it from my website instead and the reason for this is explained on this page. But basically. Because they update the Xampp package frequently, the way you install it and the way that it works tends to change frequently. And if you really want to follow along with my installation and follow along with the examples, then you probably want to be running the exact same version that I'm running today as I do this recording.

And you can download that right here under the Mac section here for ZAMP for SQL or MySQL 2014 current version, that's this course and you would download this version 1.8.3-3. You would download that and install that one. It's probably okay if you install this other one from the example web site from apachefriends.org. It just, it might look different on the screen and some of the installation steps might be different and you might need to figure some of that out yourself. You really just want to follow along with me when I suggest you download it from my website.

Now I've already downloaded it. Here, and I have it here on my desktop. And I'm going to double-click on this DMG Package. And it brings up this installer, and I just double-click on this installer. And you get this standard warning that I downloaded from the Internet, and I say okay. Go ahead, and open it. And type in my password. And we'll just press next. And we'll leave all these things checked, press next and press next again. Just to install it to the default location. I'll uncheck this because all it does is bring up a webpage, which you can bring up at any time.

Provides the installer for XAMPP and they also allow you to install some other packages. If you want information about that then leave it checked. I'm just checking it and pressing next. And next one more time to go ahead and run the installation. And you'll see some adds up here about BitNami. The actual software does not have ads. It does not install anything unnecessary on your computer. It's actually a pretty good package and I've been using it for a number of courses over the years. Alright, so setup is complete. All this launch XAMPP button does is it starts up Safari.

And since I'm not using Safari I'm not going to leave that checked. So I'm going to click finish, and I'm going to go ahead and unmount the installer here. Just click on my desktop and press command N to bring up a new finder window, and go to applications. And XAMPP and I see here this manager OS10 app. I'm going to drag that down here into my dock and let's just put it on the other side of Safari there. And I'm going to go ahead and click on that. It calls itself application manager from the inside.

From the outside, it's manager OS10. I'm just going to type in my password. This is my system password because it needs administrator privileges. And select manage servers. And you notice that it already started Apache because we just installed. That won't always be the case though, so. You may have to select that and press Start like I'm going to do with MySQL. I'm going to start MySQL. I select it over here and I press Start. And it says Starting for a moment. And then it will say running and we'll get a little green light here.

And there we have it. Now I can Command + Q, quit. It'll always ask me. If I'm sure the manager application does not need o keep running, those servers are now started and they're running in the background. And so, I don't need that manager app again unless I want to stop them. For example, if I wanted to stop them I could click on the manager app, type in my password. And go to Managed Servers, and then I could stop them. I could press stop here. I could select that one. I could stop there. Most of the time, you're not really going to need to stop them. Pressing Command + Q here to quit.

Running them all the time doesn't take much CPU, or much energy. So, I'm going to bring up Google Chrome here, and I'm going to open a new tab, and type in local host. And there we have it. We're running xampp, and if I click on English, I can look at the status here. It says MySQL is running, php, perl, all these things. And if I come down here to php MyAdmin. It opens it in a new tab here. And we can see that My SQL is running because it's finding all these databases here.

And so we have now successfully installed Zan. Now you can use whatever Web browser you want. I'm using Google Chrome. There's no reason you have to do that. You just need to come back up here and open a new tab and type local host again. Anytime you type local host it will bring you up to this XAMPP page. You can check the status and documentation and what have you. And php MyAdmin is right there. And that's how you get into PHP admin. So, now you've successfully installed ZAMP on your Mac.

In the next movie, I'll show you how to set up your MySQL users.

Show transcript

This video is part of

Image for MySQL Essential Training
MySQL Essential Training

60 video lessons · 6591 viewers

Bill Weinman

Expand all | Collapse all
  1. 4m 22s
    1. Welcome
      1m 3s
    2. Using the exercise files
      1m 31s
    3. What is MySQL?
      1m 48s
  2. 45m 37s
    1. Installation overview
      3m 16s
    2. Installing XAMPP on Windows
      5m 55s
    3. Installing XAMPP on the Mac
      6m 38s
    4. Setting up MySQL users
      11m 31s
    5. Installing SID on Windows
      5m 43s
    6. Installing SID on the Mac
      6m 6s
    7. Installing time zone support in MySQL on Windows
      6m 28s
  3. 45m 43s
    1. The SELECT statement
      3m 57s
    2. Selecting rows
      4m 57s
    3. Selecting columns
      3m 8s
    4. Sorting results with ORDER BY
      2m 58s
    5. Filtering results with WHERE
      3m 52s
    6. Filtering results with LIKE and IN
      3m 41s
    7. Filtering results with regular expressions
      8m 21s
    8. Inserting rows
      4m 9s
    9. Updating rows
      2m 21s
    10. Deleting rows
      2m 25s
    11. Literal strings
      3m 12s
    12. Understanding NULL
      2m 42s
  4. 41m 47s
    1. Creating a database
      4m 30s
    2. Creating a table
      7m 18s
    3. Creating indexes
      6m 8s
    4. Controlling column behavior with constraints
      4m 46s
    5. Creating an ID column
      6m 58s
    6. Using foreign key constraints
      7m 58s
    7. Altering a table
      4m 9s
  5. 28m 56s
    1. What are data types?
      4m 1s
    2. Numeric types
      5m 21s
    3. String types
      2m 58s
    4. Date and time types
      7m 2s
    5. Bit type
      2m 26s
    6. Boolean values
      2m 15s
    7. Enumeration types
      4m 53s
  6. 32m 34s
    1. String functions
      6m 57s
    2. Numeric functions
      6m 2s
    3. Date and time functions
      4m 12s
    4. Time zones in MySQL
      3m 37s
    5. Formatting dates
      1m 51s
    6. Aggregate functions
      5m 45s
    7. Flow control with CASE
      4m 10s
  7. 7m 6s
    1. Maintaining database integrity with transactions
      4m 46s
    2. Using transactions for performance
      2m 20s
  8. 16m 49s
    1. Updating a table with a trigger
      5m 11s
    2. Preventing automatic updates with a trigger
      7m 29s
    3. Logging transactions with a trigger
      4m 9s
  9. 14m 11s
    1. Creating a simple subselect
      3m 23s
    2. Searching within a result set
      3m 53s
    3. Creating a view
      3m 32s
    4. Creating a joined view
      3m 23s
  10. 12m 26s
    1. Understanding MySQL stored routines
      2m 0s
    2. Creating a stored function
      4m 34s
    3. Creating a stored procedure
      5m 52s
  11. 14m 4s
    1. The multi-platform PDO interface
      3m 44s
    2. Executing the SQL
      4m 8s
    3. Implementing auto-increment IDs
      2m 3s
    4. Using a stored funciton
      4m 9s
  12. 1m 3s
    1. Goodbye
      1m 3s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed MySQL Essential Training.

Return to your organization's learning portal to continue training, or close this page.

Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?


Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.