error with mysql when doing mysql -u root

Kevin Kinsey kdk at daleco.biz
Sat Sep 20 07:25:53 PDT 2003


On Sat, Sep 20, 2003 at 08:55:30AM -0700, Shawn Guillemette wrote:
> After setting the mysql root user passwd I get this when trying to log in. 
> 
> # mysql -u root
> ERROR 1045: Access denied for user: 'root at localhost' (Using password: NO)
> 
> Just after the install of mysql I had created a database as a test successfully..
> 
IIRC, it's: 'mysql -u root -p mypassword'

HTH,

Kevin Kinsey


More information about the freebsd-questions mailing list