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
20
HOURS
13
MINUTES
11
SECONDS
Black Friday Sale: Web Hosting
From $0.80 /Month!
See All Deals
×

Knowledge base

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

How can I locate my MySQL database details?

Modified on:
mysql host hostname localhost database db db config db password db host

If you're creating a website that requires a database, you may need to check the database details or review your database information. You can simply get this information at MySQL databases section in Control Panel of your hosting account:

 

After entering MySQL databases, there are 4 sections that contain important information about your MySQL databases: 

  • MySQL database - Database name
  • MySQL user - User name
  • MySQL host - Host name (please note that we don't use localhost for hostname)
  • Password - Password of MySQL's user (in case you forgot it, you can reset it here)

By the way, you can get into your database by clicking on "phpMyAdmin".