Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 17:20:21 -0400 (Eastern Standard Time)
From:      Gerard Seibert <gerard-seibert@suscom.net>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   MySQL - Cannot access as root
Message-ID:  <Pine.WNT.4.63.0507281719350.2756@Treneq>

next in thread | raw e-mail | index | archive | help
I have just installed MySQL 5. I can access the program as a regular user, 
but not as root. As I regular user I have no privileges. If I attempt to 
access as root, I receive this error message.

ERROR 1045 (28000) Access denied for user 'root'@'localhost' (using 
password: NO)

I can access the program as root using: mysql -u root -p and then 
supplying a password at the prompt, but that is about it.

What can I do to correct this problem? I tried deleting the entire package 
and reinstalling it, but the problem continues. When I first installed the 
program, it worked, but only one time. Obviously, I did something, but I 
do not know what.

-- 
Gerard




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