LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   /usr/bin/mysqladmin -u root -h yourhostname.yourdomain.com password 'new-password'? (https://www.linuxquestions.org/questions/linux-server-73/usr-bin-mysqladmin-u-root-h-yourhostname-yourdomain-com-password-new-password-795278/)

adred 03-14-2010 04:18 AM

/usr/bin/mysqladmin -u root -h yourhostname.yourdomain.com password 'new-password'?
 
What does the command mean?
In my case it's:
Quote:

/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????

Thanks

datopdog 03-14-2010 05:02 AM

can't you just read man mysqladmin ?

jschiwal 03-14-2010 05:24 AM

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.


All times are GMT -5. The time now is 10:59 PM.