[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] mysql questions
- Subject: Re: [cobalt-developers] mysql questions
- From: Bruce Timberlake <bruce@xxxxxxxxxx>
- Date: Sat Sep 27 22:49:00 2003
- Organization: BRTNet.org
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> > I started with mysql and have ran into a bit of a snag.. I installed my
> > mysql using rpm -i mysql-version.rpm
> > after this had completed (with no complaints) it kindly reminded me to
> > change the mysql root passwd. However, after running updatedb I can not
> > locate the mysql file or the mysqladmin file. SO when I type
> > mysqladmin -u root -p password newpassword I get command not found.
What user are you doing this as? Generally I think the rpm sticks all the
MySQL binaries in /usr/bin or maybe /usr/local/bin... those directories may
not be in your default search path (do "set | grep PATH" to see what your
path is).
As other have said, doing 'locate mysqladmin' or 'find / -name mysqladmin
-print' should show you where they are. Then just prepend that path to the
command to run it (i.e., specific /usr/local/bin/mysqladmin ...)