[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: I can't find mysqladmin file



travis stude wrote:

I have tried everything to find this file so that I can change the password on MySQL. I have gone into su root and typed the command mysqladmin -u root -pccobalt -mysql password NEWPASSWORD and it says ...

sh: mysqladmin: command not found

I am sure that I am in the right place. I have also tried looking for this file in /var/lib/mysql, /usr/bin, and /usr/share. I am new to cobalt, but I have installed MySQL many times on other OS systems. Can anyone suggest where I might be able to find this file so I can change the root password on MySQL.

Did you run

	find / -name "mysqladmin" -print

or

	locate mysqladmin

How did you install MySQL on the server - RPM? From source? That might give some clues as well...

Also, remember when you're su-ing to root, you should do

	su - root

to ensure your PATH is set properly.