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 trialNathan P
1,686 PointsPassword Issue with Terminal when installing MySQL Workbench config file
Hi, I am trying to install the MySQL Workbench config file using Terminal for this video https://teamtreehouse.com/library/database-foundations/installing-mysql-server-and-mysql-workbench/installing-mysql-server-and-workbench-on-os-x.
After typing the sudo cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf statement, Terminal prompts for a password.
Terminal will not accept either my user password nor the root admin password. (The computer is set up for several users with a root admin user).
I would appreciate assistance to learn how to resolve this item.
Following is the Terminal script:
user1-mbp:~ N$ sudo cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf
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.
///// This is where I tried my username password /////
Password: Sorry, try again. Password: N is not in the sudoers file. This incident will be reported. user1-mbp:~ N$ sudo cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf
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.
///// This is where I tried the computerβs admin password /////
Password: Sorry, try again. Password: Sorry, try again. Password: Sorry, try again. sudo: 3 incorrect password attempts user1-mbp:~ N$