Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-14-2010, 05:18 AM   #1
Registered: Apr 2008
Posts: 30

Rep: Reputation: 15
/usr/bin/mysqladmin -u root -h password 'new-password'?

What does the command mean?
In my case it's:
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
because that's what I get when issue 'hostname' command.
Whenever I enter it I get usage manual... Any help pls????

Old 03-14-2010, 06:02 AM   #2
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
can't you just read man mysqladmin ?
Old 03-14-2010, 06:24 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658
You haven't finished your installation. Give it a real hostname. Another host won't be able to reach your mysql server because localhost will refer to itself.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySql installs ok, but no /usr/bin/mysqladmin dir k0ntank3rous Linux - Software 2 01-04-2013 09:05 PM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 09:33 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
Mysqladmin change root password Palula Linux - Newbie 1 06-16-2006 05:30 PM
change password for root usr utoks Linux - Newbie 2 01-06-2002 06:17 PM

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration