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

Jordan Pierre
Jordan Pierre
16,601 Points

Having problems installing MySQL Server and Workbench on OS X.

I was able to download the server and workbench but I am having problems with the next step. I tried to install the ETC config file using this terminal statement:

sudo cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf

After I press enter, I get this message:

WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:

What am I doing wrong?

Christopher Hubbard
Christopher Hubbard
392 Points

Jordan,

You're doing nothing wrong at all!

The first time you use the 'sudo' command, the operating system displays that warning to let you know that you're now 'under the hood' of the operating system with full access privileges.

In other words, its the operating systems way of telling you to be careful.

Once you hit enter once, that message won't pop up anymore.

Jordan Pierre
Jordan Pierre
16,601 Points

Thank you Christopher for you your help