Dear PopleysYsb ,
I would not recommend you to retrieve info from database directly, as database schema could be changed between versions.
You can use GMU, or restman to get the info you want.
for example ,
./GatewayMigrationUtility.sh list --type ID_PROVIDER_CONFIG -z <argument file>
Regards,
Mark