For BigFix, if Windows authentication is used, the account under which the Service runs will used to authenticate with the SQL database. If SQL authentication is used, check the ODBC -> System DSN definitions.
For BigFix Compliance, if Windows authentication, check the Service running under. For SQL authentication, search for database.yml file under the Compliance installation folder and review it