Normally you should be able to configure your database the first time you run the install tool. Did you get that error in the frontpage? backend (/typo3)? or install tool (/typo3/install)?