maybe we should use the `$sugar->getConfig('dbconfig.db_name')` like we takes about.