Created
September 9, 2017 10:02
-
-
Save rts-rob/a3de1580dd40f2d349c016e6a0ac216a to your computer and use it in GitHub Desktop.
Setup for MySQL Connection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mysql = require('mysql'); | |
... | |
const connection = mysql.createConnection({ | |
host: "somedatabasehost.com", | |
user: "someuser", | |
password: "somepassword", | |
multipleStatements: true | |
}); | |
... | |
connection.connect(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment