What is my database hostname?

Please note that in most cases, both Linux and Windows based shared hosting plans are using External Database servers and you should NOT leave it to localhost. VPS/Cloud based accounts might be setup to use the default "localhost" as database server, but this needs to be verified using the information below.

For Linux based plans, you will find the Database host in the MariaDB section of cPanel control panel (Click on MariaDB Databases under Databases section in cPanel) or Plesk panel (VPS/Cloud users using Plesk panel).

For Windows based plans, you will find the Database host in the Space summary or in Plesk control panel for Windows based VPS/Cloud users that are using Plesk instead of SolidCP.