Trying to configurate localhost database password for Mysql in Macos x Snow Leopard:
mysqladmin -u root password 'password'
And I got this error:
-bash: mysqladmin: command not found
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you used the OS X mysql installer from mysql.com, you’ll need to add the mysql bin to your path. You can do this in your
.bash_profile, for instance.Then you should be able to type
which mysqladminand see/usr/local/mysql/bin/mysqladminas the result.