logo

Cyber Sale

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

Up To

90

%

OFF

04
DAYS
23
HOURS
51
MINUTES
12
SECONDS
Cyber Sale: Best Web Hosting
From ₹45.00 /Month!
See All Deals
×

Hostinger's Knowledge Base

Find articles and information about features, various troubleshooting guides,
and other technical information related to the Hostinger's services

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".