Access Denied message when connecting with server hostname

(Doc ID 1385356.1)

Last updated on JANUARY 16, 2016

Applies to:

MySQL Server - Version 5.0 to 5.5 [Release 5.0 to 5.5]
MySQL Workbench - Version 6.3 to 6.3 [Release 6.3]
Information in this document applies to any platform.

Symptoms

Receive Access Denied error message when connecting with server hostname.


$ mysql -hserver.domain.com -uusername -pmypassword
ERROR 1045 (28000): Access denied for user 'username'@'server' (using password: YES)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms