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

Mit Sengupta
Mit Sengupta
13,823 Points

Why my terminal is asking for password?

When I am entering the command line code on the terminal it is prompting for a password and giving me a warning. I do not even know what password it is asking for. Please someone help.

I imagine it is asking for your user account password to allow you to use sudo?

Steve.

3 Answers

Mit Sengupta
Mit Sengupta
13,823 Points

Steve Hunter , Hello Steve I think so yes. But albeit I am typing my login password in sudo, it's saying that the password I entered is incorrect when it is not. I'm at the moment logged in as a guest user.

It might want the password for the user with admin privileges, rather than a guest user?

Mit Sengupta
Mit Sengupta
13,823 Points

Hello Steve, it's working with the password now. But when am entering this : r/local/mysql/support-files/my-default.cnf /etc/my.cnf

It is saying : No such file or directory

r/local or usr/local?