CGI interview question

How to connect DB