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

01
DAYS
01
HOURS
23
MINUTES
55
SECONDS
Black Friday Sale: Cheap Web Hosting
From RM2.99 /Month!
See All Deals
×

Knowledge base

Find information within our custom articles about Hostinger's features
and all information relating to hosting practices.

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.