You might need to know host, port, and user credentials for database connection, for example, to specify them in a script. To view this information, click the Connection Info link on the database tools pane (in Websites & Domains > Databases).
Note: If you do not remember the password, you can go to the database user settings by clicking the user login in the list of database users, generate a new password and click Show.