hi friends,
You receive a "Cannot connect to the configuration database" error message when you access your Windows SharePoint Services Web site
You receive an "Unable to connect to database" error message when you install SharePoint Portal Server 2003 or Windows SharePoint Services
Troubleshooting Server and Database Connection Problems