Date: Sat, 11 Sep 2010 07:20:02 GMT From: jhell <jhell@DataIX.net> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/150479: problem with mysql on freebsd 7.2 32 bit Message-ID: <201009110720.o8B7K2Kf079164@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/150479; it has been noted by GNATS.
From: jhell <jhell@DataIX.net>
To: dario <darius_69@hotmail.it>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/150479: problem with mysql on freebsd 7.2 32 bit
Date: Sat, 11 Sep 2010 02:47:07 -0400
On 09/10/2010 18:49, dario wrote:
>> Number: 150479
>> Category: misc
>> Synopsis: problem with mysql on freebsd 7.2 32 bit
>> Confidential: no
>> Severity: non-critical
>> Priority: low
>> Responsible: freebsd-bugs
>> State: open
>> Quarter:
>> Keywords:
>> Date-Required:
>> Class: sw-bug
>> Submitter-Id: current-users
>> Arrival-Date: Fri Sep 10 22:50:01 UTC 2010
>> Closed-Date:
>> Last-Modified:
>> Originator: dario
>> Release: freebsd 7.2 32 bit
>> Organization:
> ...
>> Environment:
>> Description:
> When i use the command mysqladmin -u root password 'my password'
> i reflected the next error:
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO) '
> How can i resolve this problem ?
>> How-To-Repeat:
>
>> Fix:
>
From the manual page:
-p, --password[=name]
Password to use when connecting to server. If password is
not given it's asked from the tty.
You can also connect by socket:
-S, --socket=name The socket file to use for connection.
And or specify a hostname:
-h, --host=name Connect to host.
And your server should be running at the time you issue your command.
This is not really FreeBSD or a Ports specific problem and lays in usage
of your syntax. Please read the manual.
Thanks,
--
jhell,v
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009110720.o8B7K2Kf079164>
