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

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?