Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools Database Foundations Installing MySQL Server and MySQL Workbench Installing MySQL Server and Workbench on OS X

Yonas Fesehatsion
Yonas Fesehatsion
Full Stack JavaScript Techdegree Student 7,950 Points

Error coping file to my-default.cnf

cp: /usr/local/mysql/support-files/my-default.cnf: No such file or directory

Ivan Lyubimov
Ivan Lyubimov
11,235 Points

Hey, have you solved the problem by any chance? I'm facing same issue here

1 Answer

I had a huge issue with this as well and it took me forever to figure out how to get mysql to work in osx. For me I found the problem lies with permissions of local. In terminal go to the usr directory and run ls -al the permissions for local should be drwxr-xr-x if not change it and mysql should work.