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

PHP

Can't find my.cnf for setting up MySQL database in MySQL WorkBench :(

Hi There,

I am following the video on Database Foundations > Stage 2 > Installing MySQL Server and Workbench on OS X

I have downloaded both MySQL and MySQL Workbench just fine, BUT when I follow the movies instructions to create a new server instance with MySQL WorkBench during setup on step Testing Host Machine Settings"

I get the error: "Error: File /etc/my.cnf doesn't exist"

I'm certain this is linked to the section in the video where the instructor has you input one terminal command but it is not working for me.

When I type: `sudo cp usr/local/mysql/support-files/my-default.cnf/etc/my.cnf in Terminal as instructed

I get a complaint from terminal which states: "usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory"

Please help! Thank you :)