Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 22:41:07 +0700
From:      budsz <budsz@kumprang.or.id>
To:        jehova <tornadox@telnor.net>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: MySQL:connect to server at 'localhost' failed
Message-ID:  <20020611224107.A1111@bdg.centrin.net.id>
In-Reply-To: <200206110724.16234.tornadox@telnor.net>; from tornadox@telnor.net on Tue, Jun 11, 2002 at 07:24:16AM -0700
References:  <200206110724.16234.tornadox@telnor.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 11, 2002 at 07:24:16AM -0700, jehova wrote:
>i just  installed MySQL from ports collection as usual (make 
>install clean) when i start server and check status i got this:
>
>kris[/usr/ports/databases/mysql323-server]# 
>/usr/local/etc/rc.d/mysql-server.sh start
> mysqldkris[/usr/ports/databases/mysql323-server]# mysqladmin -p 
>status
>Enter password:
>mysqladmin: connect to server at 'localhost' failed
>error: 'Access denied for user: 'root@localhost' (Using password: YES)'
                                  ^^^^^^^^^^^^^^

Default MySQL'll deny login with root, so you should create new user
then grant/revoke some privileges to that user. check out the doc or manual.

-- 
budsz

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020611224107.A1111>