Connects to the database, returning null if any error has occurred during the connection process.
null