Results 1 to 6 of 6
I've installed the MySQL RPMs from the MySQL site, but when I try to change the root pass, I get and error that the mysqladmin command does not exist.
I've ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-20-2004 #1Just Joined!
- Join Date
- Oct 2004
- Posts
- 5
Unknown command: Mysqladmin
I've installed the MySQL RPMs from the MySQL site, but when I try to change the root pass, I get and error that the mysqladmin command does not exist.
I've installed the server, client, devel, and shaired RPMs. Is there a spacific order of install? Is this a common problem?
- 10-20-2004 #2
can you #su mysql
and then mysqladmin??
what happens when you type mysql and then <TAB key twice>, does it give you other mysql options.
- 10-20-2004 #3Just Joined!
- Join Date
- Oct 2004
- Posts
- 5
Are you talking about logging into mysql as root? No, because I have no root password.
Originally Posted by jledhead
That's why I need to run the
$>mysqladmin -u root password 'newpass' command.
Hmm. from the command line? Nope haven't tried it. What should I see?what happens when you type mysql and then <TAB key twice>, does it give you other mysql options.
- 10-20-2004 #4no, that would be logging into the system (or changing users) to the mysql user and then issuing the mysql commands from there
Originally Posted by Jake_B
- 10-20-2004 #5Just Joined!
- Join Date
- Oct 2004
- Posts
- 5
Well, when you first install MySQL, there is no root pass? I mean, normally I would install and do this first thing:
Originally Posted by jledhead
$> mysqladmin -u root password 'some_new_password'
But what if I install and do this:
$> mysql -u root -p
It will ask for a password.
Are you saying that after a fresh install, I should be able to log in without a user or pass:
$> mysql
???
- 10-20-2004 #6
mysql has no default password, you need to be logged in as root on the local machine to execute the mysqladmin command, this is done by typing root and your root password at the login prompt, or by typing
su -
*root password*
then the command. Also try the absolute filepath, probably something like
/sbin/mysqladmin
see if that helps


Reply With Quote
