Jump to content

Error: Exception: SQLSTATE[HY000] [1045] Access denied for user


Manol
 Share

Recommended Posts

  • 7 months later...

A few things to check:

  • Make sure the MySQL user has the correct permissions/privileges.
  • Some hosts don't allow localhost to be used, so you may need to use the actual hostname or IP address
  • You may have to use the standard MySQL port number (3306) after the hostname.  Also check with your host to see if they are using an alternate port number
  • Like 1
Link to comment
Share on other sites

Whenever I changed the server hostname, it automatically appends some texts like

  • If my host name is 'server', when I checked site in browser it shows error ... user@server.welcome.site?

What might be the issue. Is this causing error

Access denied for user 'user'@'user.website.com' (using password: YES)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...