Websites usually need four database connection values:
localhost on shared hosting)This article explains how to find them on GARMTECH hosting.
Here you can see:
Security note: for safety, Plesk does not display existing database passwords. If you do not know the password, you should set a new one (see below).
In most cases, websites hosted on GARMTECH shared hosting connect to the database on the same server, so the host is:
localhostIf your subscription uses a separate database server (rare / custom setups), the host can be different. In such cases, follow the values configured in your application.
Even if you see database names/users in Plesk, your website still uses the values stored in its config file. Common examples:
File: httpdocs/wp-config.php
define('DB_NAME', 'database_name');
define('DB_USER', 'database_user');
define('DB_PASSWORD', 'database_password');
define('DB_HOST', 'localhost');
File: httpdocs/.env
DB_HOST=localhost
DB_DATABASE=database_name
DB_USERNAME=database_user
DB_PASSWORD=database_password
Look for files like config.php, configuration.php, settings.php, includes/config.php or similar.
wp-config.php, Laravel .env, etc.).Tip: changing the database user password without updating the website config will cause “Error establishing a database connection” (or similar) until you update the config.