You need your database connection details to configure your application. This guide shows you where to find the hostname, port, database name, username, and password.
Steps
-
Navigate to your website management page.
[screenshot: website management page]
-
On the Home tab, click the Databases card.
[screenshot: databases card]
-
In the Databases drawer, click on the database whose connection details you need.
[screenshot: selecting database]
-
The database detail view shows your connection information: Host, Port, Database Name, Username, and the database type.
[screenshot: database connection details panel]
-
Copy each value and paste it into your application's configuration file.
[screenshot: copying connection details]
Tip: For most applications hosted on the same server, the database host is
localhost or 127.0.0.1. If you need remote access, see the guide on enabling remote database access.