misc/150479: problem with mysql on freebsd 7.2 32 bit
jhell
jhell at DataIX.net
Sat Sep 11 07:20:03 UTC 2010
The following reply was made to PR misc/150479; it has been noted by GNATS.
From: jhell <jhell at DataIX.net>
To: dario <darius_69 at hotmail.it>
Cc: freebsd-gnats-submit at 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
More information about the freebsd-bugs
mailing list