[Docs] MySQL Database Integration


#1

Learn how to store user specific data of your Alexa Skills and Google Actions to a MySQL database.


This is a companion discussion topic for the original entry at https://www.jovo.tech/docs/databases/mysql

#2

When using Mysql instead of FileDB for session data and using AWS Lambda, the lambda timed out.

The issue is reported in github repo and a solution is posted by kapplar42 resolved it .

# src/index.js
exports.handler = async (event, context, callback) => {
    **context.callbackWaitsForEmptyEventLoop = false;**
    await app.handle(new Lambda(event, context, callback));
};

Link: https://github.com/jovotech/jovo-framework/issues/573