Google Drive

Internet-related services and products

Go to site

Integrate the Google Drive API with the MySQL API

Setup the Google Drive API trigger to run a workflow which integrates with the MySQL API. Pipedream's integration platform allows you to integrate Google Drive and MySQL remarkably fast. Free for developers.

Popular Ways to Connect Google Drive with MySQL

1
-
6
of
7
integrations by popularity

Popular Google Drive and MySQL Triggers

1
-
6
of
12
triggers by popularity

Popular Google Drive and MySQL Actions

1
-
6
of
73
actions by popularity

Connect Google Drive

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://www.googleapis.com/oauth2/v1/userinfo`,
  headers: {
    Authorization: `Bearer ${auths.google_drive.oauth_access_token}`,
  },
})

Connect MySQL

const mysql = require('mysql2/promise');

const { host, port, username, password, database } = auths.mysql

const connection = await mysql.createConnection({
  host,
  port,
  user: username,
  password,
  database,
});

const [rows, fields] = await connection.execute('SELECT NOW()');
console.log(rows)