Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Database Foundations Installing MySQL Server and MySQL Workbench Running a Script and Using MySQL Workbench

Using Mamp

Hi, I'm using MAMP and I would like to know how to use that with this video? I actually do not understand the role of Workbench.

Matthew Day
Matthew Day
6,740 Points

MAMP runs a server locally on your machine. Workbench is acting as the client in this client-server relationship and it sends a statement to the MAMP server so the server can process it. Basically, you need Workbench to query the database and see its structure. That being said, you don't have to use Workbench. I use PHPMyAdmin to find the same information– the GUI is different, of course, but it serves the same person. On my machine (a MacBook Air), I access PHPMyAdmin by opening a tab in a browser with the URL http://localhost:8888/phpmyadmin/. From there, you will need to import the database. If you're not sure what to do next, just ask.

1 Answer

Honestly, this project would've been so much easier just installing MAMP. Using phpmyadmin is closer to how we'd be using databases anyways since cpanels for websites all have them.

I didn't like this approach but I am not teaching it..oh well.