Created
June 11, 2020 02:23
-
-
Save parzibyte/29218070a361a893a0a152aca337584e to your computer and use it in GitHub Desktop.
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
const mysql = require("mysql"); | |
// Coloca aquí tus credenciales | |
module.exports = mysql.createPool({ | |
host: process.env.DB_HOST, | |
user: process.env.DB_USER, | |
password: process.env.DB_PASSWORD, | |
database: process.env.DB_NAME, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment