I’ll be working with Sharepoint 2010 for the next few months, so will have quite a few of sharepoint-related notes in a near future.
Anyways, if you need to check which connection string sharepoint is using to connect to db, open regedit, and go to
HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsWeb Server Extensions14.0SecureConfigDB
– you’ll find it in dsn key.