Jump to content

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


Recommended Posts

Posted

I'm getting the following error :

http://patrimonio24.com/?/ Error: Exception: SQLSTATE[HY000] [1045] Access denied for user 'lliriaturisme'@'localhost' (using password: YES) (in /opt/bitnami/apps/patrimonio24/htdocs/wire/core/ProcessWire.php line 163)

Any ideas to solve it?

  • 7 months later...
Posted

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
Posted

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)
Posted

That user name should be the MySQL user account that's associated with the MySQL database.  If that's not what's listed, that may be your problem.

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
  • Recently Browsing   0 members

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