Limited Time Offer - from PHP 35.00/month
01
DAYS
17
HOURS
36
MINUTES
21
SECONDS
Get Started
×

Knowledge base

Find information and articles about features, guides for troubleshooting,
and other useful information related to Hostinger's web 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.

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
PHP
35
00
/mo
Save 90%
Get started