in reply to DBI->connect problem

Please please please read the writeup formatting tips before posting again. I mean, you must have noticed this didn't look right in the previews... I for one can't read that.

Also helpful: what exactly is going wrong? "Doesn't seem to work" is not particulary informative. See how (not) to ask a question.