AWS

On-demand cloud computing platforms and APIs

Go to site

Integrate the AWS API with the MySQL API

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

Popular Ways to Connect AWS with MySQL

1
-
6
of
7
integrations by popularity

Popular AWS and MySQL Triggers

1
-
6
of
9
triggers by popularity

Popular AWS and MySQL Actions

1
-
6
of
29
actions by popularity

Connect AWS

const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = auths.aws

/* Now, pass the accessKeyId and secretAccessKey to the constructor for your desired service. For example:

const dynamodb = new AWS.DynamoDB({
  accessKeyId, 
  secretAccessKey,
  region: 'us-east-1',
})

*/

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)