Date: Tue, 11 Jun 2002 17:17:19 -0400 From: Bill Moran <wmoran@potentialtech.com> To: jehova <tornadox@telnor.net> Cc: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: Re: MySQL:connect to server at 'localhost' failed Message-ID: <3D0668DF.7080906@potentialtech.com> References: <200206110724.16234.tornadox@telnor.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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)' > kris[/usr/ports/databases/mysql323-server]# Did you try entering your root password when it prompted you? If so, that's your mistake. If I remember correctly, the default MySQL install creates a root user with full privies, but NO PASSWORD. Thus, initially when you log in, you must NOT enter a password. It's a VERY good idea to fix this first thing. -- Bill Moran Potential Technology http://www.potentialtech.com 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?3D0668DF.7080906>