Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
The MAMP control panel offers a number of options for managing your Apache, MySQL, and PHP installation. All of the options are available under preferences. Here are some tasks you can accomplish. By default, the MAMP servers, Apache and MySQL, start up when you start the MAMP application, and shut down when you quit. You can tell the servers to stay alive and keep on responding to requests even if you've closed the MAMP application, by deselecting the option stop servers when quitting MAMP.
I'll make that change and click okay. You'll see that there's some work going on in the background, and you might be prompted for your administrative password. But once it's finished, I'll quit the MAMP application then I'll go back to my browser. I'll type localhost/MAMP. Make sure you spell MAMP in all upper case. And everything is still working. I can still go into phpMyAdmin and see that my database is alive. Now, I'll close the browser, and return to the MAMP application, going to the MAMP folder, and the MAMP app, and when the MAMP control panel opens, it automatically reopens the welcome page for me.
So this feature is useful if you want to keep your MAMP servers up and running, but you don't want to keep the MAMP control panel open. I'll go back to the preferences panel and again to the Start and Stop tab. Notice that every time you open the control panel, that Welcome Page opens automatically. If you don't want that to happen, you can uncheck that option and you can also prevent the dialog from popping up, checking for MAMP Pro. For developers who use MAMP all the time, they typically turn both of those options off. I've already described in a previous movie how to set the ports for Apache and MySQL to their standard ports.
Port 80 for Apache and 3306 for MySQL. You can also choose a PHP version. By default, you have versions 5.5 and 5.1 available. You can download and install other versions of PHP from the MAMP website. And the Apache tab has just a single option, changing the document route. To do that, click the folder icon. That'll open up finder, navigate to the folder you want to use and select it.
I'll leave this set to the default of ht docs. If you make any changes to your preferences you might be prompted with your administrative password. Type it in, and the servers should be restarted automatically, and you should be ready to work. There's one other very important tool that's included with the latest version of MAMP. As I've showed previously, you get a copy of phpMyAdmin that lets you manage your MySQL databases through a web-based interface. But you also get a copy of MySQL Workbench.
A graphical interface for managing MySQL databases that's from MySQL. You don't need map to get MySQL Workbench. You can download it for free from mysql.com, but it's already a part of this folder. If you want to manage your local database through MySQL, click the plus icon to create a new connection. You can name it anything you want. I'll call it just local. The host name can be 127.0.0.1, or local host.
The username will be root. And for the password, click the button labeled store in key chain. And type the password that's set up during the MAMP installation, root, all lowercase. Click okay, and then click test connection. And if everything's working, you should see the message that the connection parameters are correct. You can then double click to open the connection, and from here you can create and manage your databases. You don't have to use MySQL Workbench.
If you prefer, you can use phpMyAdmin to do everything you need with MySQL. But for those developers who prefer a native UI, MySQL Workbench is free and easy to get started with. And that's pretty much everything there is to know about configuring a map. Of all the amp stacks for Mac that I know of, it's the simplest and fastest to get started with. It doesnt' have as many options and additional tools as some of the other stacks that I show in this course, but it's simple, and it's free.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 98804 Viewers
80 Video lessons · 141651 Viewers
59 Video lessons · 59999 Viewers
52 Video lessons · 73169 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
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.