Once you have created a database in konsoleH, you need five pieces of information to connect to it – whether from your website, your application, or an administration tool like phpMyAdmin:
| Parameter | Description | Where to find it |
|---|---|---|
| Hostname (server) | The address of the database server where your database is located | In konsoleH under the relevant menu item (MariaDB/MySQL or PostgreSQL) in the overview of your databases |
| Port | The network port through which the database communicates | In the email you received when you created the database (see also the sub-pages for MySQL and PostgreSQL) |
| Database name | The name of the specific database you want to access | You chose this when you created the database; it is shown in the database overview |
| Username (login) | The database user (not your konsoleH login!) | Shown in the database overview |
| Password | The password of your database user | You either chose it yourself when you created the database or it was generated automatically; it is included in the confirmation email |
Important: Do not use
localhostas the hostnameUnlike a local development environment, your database at konsoleH does not run on the same server as your website. For this reason, do not enter
localhost– this is one of the most common reasons for setup errors. You can find the correct hostname directly in konsoleH in the overview of your databases underMariaDB/MySQLorPostgreSQL.
Where do you enter this information?
Every application stores connection details in its own location. Typical examples:
- WordPress: in the file
wp-config.php - Joomla: in the file
configuration.php - TYPO3: in
LocalConfiguration.phpor via the installation wizard - Your own PHP application: in the database connection, e.g.
new PDO(...)ormysqli_connect(...)
You will find specific examples with the relevant syntax on the sub-pages for MariaDB/MySQL and PostgreSQL.
Common next steps
- Backup, restore & migration – Guide to backing up and restoring your database, e.g. when moving from another hoster to konsoleH.
- Databases for CMS and web applications – Step-by-step guide to setting up a database for your CMS or web application, e.g. WordPress, Joomla, or TYPO3.