code: function connectToDB(connObject, ssl, _callback) {
          let connection;
          let sslObject;
          let connectionObject;
          if (ssl == true) {
              sslObject = {
                  ca: fs.readFileSync(connObject.certificatePath),
              };
          }
          console.log('Setting connection params');
          if (connObject.dbtype === 'mysql') {
              if (ssl == true) {
                  connectionObject = {
                      host: connObject.server,
                      port: connObject.port,
                      user: connObject.username,
                      password: connObject.password,
                      database: connObject.database,
                      connectTimeout: connObject.connTimeout,
                      ssl: sslObject,
                  };
              } else {
                  connectionObject = {
                      host: connObject.server,
                      port: connObject.port,
                      user: connObject.username,
                      password: connObject.password,
                      database: connObject.database,
                      connectTimeout: connObject.timeout,
                  };
              }
  
              console.log('After initializing params for connection');
              // check if db connection string is provided
              if (checkTypes.assigned(connObject.connectionString)) {
                  connection = mysql.createConnection(connectString);
              } else {
                  connection = mysql.createConnection(connectionObject);
              }
              console.log('Calling connection connect');
              connection.connect(function(err) {
                  _callback(err, connection);
                  return connection;
              });
              return connection;
          } else {
              // TBD: Add implementation for handling other types of database and drivers.
              console.log('Invalid Database Type');
              return 0;
          }
      }
docs: __DOCSPLACEHOLDER__
  
  @param {object} connObject __DOCSPLACEHOLDER__
  @param {object} ssl __DOCSPLACEHOLDER__
  @param {object} _callback __DOCSPLACEHOLDER__
  @return {object} connection