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 Installing MySQL Server and Workbench on OS X

Keith Kasputis
Keith Kasputis
11,365 Points

Using MAMP install

Is there any documentation on Treehouse or other source on how to use the MAMP install I used for the PHP modules to work the lessons in this module? The MAMP site wasn't helpful. The MAMP install has both MYSQL server and SQL Workbench. When I start the server from the Workbench, I get the following error "Start server: /bin/bash: /usr/local/mysql/support-files/mysql.server: No such file or directory"

Keith Kasputis
Keith Kasputis
11,365 Points

Never mind! I remember that the following module was being taught by Randy also. I went there and found that I should be using phpMyAdmin. Still have to figure out to get the database into MyAdmin but that shouldn't be too difficult. Treehouse should have some info about this in the lesson because if you are following the PHP track, you will already have the MAMP or XAMP package install and installing another copy of MYSQL isn't necessary.

1 Answer

I also downloaded MAMP before mySQL Workbench. Once I was able to get it uploaded, I had to manually add the server by going into Workbench and adding it using the Database menu option, then Manage Connections. You then add the localhost name, specify localhost, port number and the username and password (both of these should be 'root'). You can also start and stop the MAMP server from mySQL Workbench as well.