Getting this error while specifying the Configuration Database settings while Installing SharePoint 2010

Follow the steps from Eric’s post to fix it.

EricHarlan.com – SharePoint 2010 RTM Cannot connect to database master at SQL server.

UPDATE: Also found this

Technet Blog Article