The hDatabaseInfo.php helper in Osclass provides a set of functions that allow you to retrieve important database connection information. These functions are useful when you need to display, log, or verify your database credentials in a secure manner.
osc_db_name() – Gets the database name.
osc_db_host() – Gets the database host.
osc_db_user() – Gets the database user.
osc_db_password() – Gets the database password.