5. Which function/method do you use for establishing connection to database ?

connect() method can be used for establishing connection to database.