logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

03
DAYS
03
HOURS
52
MINUTES
44
SECONDS
Black Friday Sale: Web Hosting
From £0.80 /Month!
See All Deals
×

Knowledge base

Find articles and information about all features, troubleshooting guides,
and other technical information on Hostinger's hosting services.

Access denied for user 'xxx'@'localhost'

Modified on:
Access denied for user 'xxx'@'localhost' access denied for user user access denied denied for user error mysql error access denied access denied in localhost mysql access denied hostinger

This error message usually appears when you use incorrect MySQL login details (username, password, hostname or database name could be incorrect) in your website configuration file.

In order to solve this issue, you should navigate to your hosting account cPanel -> MySQL dashboard and double check MySQL login details.