----- Original Message -----
From: "tang jie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 08, 2001 5:41
Subject: problem while SETting A PASSWORD during installation


> After installation of MySQL version 3.23.37 on
> Linux/i386 with the command:
>
> rpm -i MySQL-3.23.37-1.i386.rpm
>
> two lines of instruction come up, asking to
>
> /usr/bin/mysqladmin -u root -p password 'new-password'

-p is not needed because it is a brand new installation and brand new
installations do have a password set.

> /usr/bin/mysqladmin -u root -h hostxxx -p password
> 'new-password'

Again -p is not needed until a password has been set.  Depends on what you
are using as hostxxx.  If you're on the local machine where the mysql server
resides, you don't really need -h or you could use localhost or 127.0.0.1

> the first line works only after the "-p" is omitted,
> the second line doesn't work, the result is:
>
> /usr/bin/mysqladmin: connect to server at 'hostxxx'
> failed
> error: 'Host 'hostxxx.domainyyy.com' is not allowed to
> connect to this MySQL server'
>
> (here hostxxx and domainyyy represent some other
> actual
> names)
>
> Could anyone know the answer this problem?
>
> Thanks
>
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to