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

Installing XAMPP on Windows

From: MySQL Essential Training

Video: Installing XAMPP on Windows

In this lesson, I'll show you how to install XAMPP on Windows. Also before you install XAMPP, you'll want to install a text editor.

Installing XAMPP on Windows

In this lesson, I'll show you how to install XAMPP on Windows. First, you need to make sure that there are no other web servers running. The XAMPP package includes Apache, MySQL, PHP and some other things. Apache is a web server, and in order for it to run there needs to be no other web servers running. So if you're running Microsoft Internet Information Server, you'll need to shut that down before running XAMPP, or any other web servers. Also if you're running Skype, Skype uses the same port as a web server, and it will prevent Apache from running.

So if you have Skype installed, you'll need to turn it off before you can install XAMPP. Also before you install XAMPP, you'll want to install a text editor. I like Notepad++ for Windows, you can download it from notepad-plus-plus.org. Click on download. And then scroll down a little bit. And you'll see here the Notepad++ Installer. You download that. I've already got it on my desktop. And in fact, I've already installed it on this computer. Watch out for these ads that look like download buttons. Those will do something else.

And can't be good. Once you've installed Notepad ++, it's time to install XAMPP. I've already downloaded the latest version of XAMPP. You can download it from the XAMPP website or you can download it from my website. I do recommend it that you do download it from my website instead. The reason for this is that the XAMPP package is. Updated frequently, and while that's normally a good thing, here I'm giving you some instructions on how to install it and how to use it, and unfortunately as they update it, many things seem to change.

The installation procedure changes, the way things look change, where things are on the screen change. And unless you're adventurous like I am, you might want to just stick with the same version that I'm using for the demonstrations, which you can download here. That's this xampp-Win32-1.8.3-3-installer.exe. There's more explanation here on my website why you would want to do that. Otherwise just go ahead and install it from the Apache Friends website. That's www.apachefriends.org.

And that'll probably be fine. Do keep in mind that the latest version of XAMPP requires, as of this time when I'm recording this, Windows Vista or later. So if you're running XP or something older than that, you may need to download an older version from the Apache Friends website in order to use it. So I've already downloaded this, so I'm going to go ahead and install it. I'm going to right-click on the installer on my desktop. And I'm going to select Run as administrator. Hit this UAC warning. Just select Yes.

And, then there's this other warning about running an anti virus software, of course. Everybody is running anti-virus, especially on Windows. I have seen these problems in the past so, it's something to try. But, for now I'm going to continue and press Yes. I'm also going to press OK to this. This is saying not to install it, it's C Program Files and that's okay, we're not going to do that. I'll press OK. I'll press Next. I'm going to unselect a few of these things, they take up space, we're not using them. If you want to leave them in there and play with them, that's fine.

They won't hurt anything. They just take up space. I'm press Next. C:\xampp is where we're installing XAMPP. And that is the right place to put it. So go ahead and put it there. And I'll press Next. And I'm going to uncheck this, learn more about Bitnami. Bitnami is the company that wrote the installer. They also have installers for some other packages that you can run on top of XAMPP like DruPaul and WordPress. There's plenty of other opportunities to see their web site. All this does if you leave the check boxes checked is it opens their web site when the installation is done.

So I just uncheck that, press Next, and press Next again, and the installer begins. This will take a few minutes. And there we have it. XAMPP is installed. I'm going to uncheck this start the Control Panel now because we want to pin it to the Taskbar. And I'll press Finish. And for some reason, it sometimes leaves this command window open. I can just close that safely. I'm going to come down here and go to the C drive and, the XAMPP folder and scroll down here.

And where I see XAMPPControl.exe, I'm going to right-click on that and say Pin to Taskbar. And there it is. Just move it over here some place. I can actually move it all the way over there. I'll be fine I can close this. And now bring up the Control Panel. And here we have it. And I'm just going to start Apache and MySQL. And both of those are now started. I can close the Control Panel because these servers are still running in the background. And I can open up a new tab in my browser and just type localhost, like that, and there it is.

That brings up the little splash page for XAMPP, that shows us that Apache is running and that PHP is running. And I'll click on English. And come all the way down here and you'll see this menu. This is the welcome screen in XAMPP. You'll see this throughout the course in different places. I'm going to press phpMyAdmin. And that tells us that MySQL is running. Here's our database server over here. Has a server version, protocol version, root at local host is the. User that we're using.

And all these databases are showing. So that means that MySQL is working, the web server is working, Apache is working, PHP is working. You have now successfully installed XAMPP on your PC. 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 · 9349 viewers

Bill Weinman
Author

 
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

Congratulations

You have completed MySQL Essential Training.

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


OK
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 preferences from 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.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

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.