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

  • פשוט בונה אתר
  • 99.9% אחריות Uptime
  • 24/7 חי תמיכה
  • Powerful Control Panel
  • 30 יום חזרה כספית
Limited Time Special Offer!
מִ
2
95
/חֹדֶשׁ
שמור 90%
התחל