-
-
Save parzibyte/588e98f398faf92e64ae1d1609e98c7d 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.MYSQL_HOST, | |
user: process.env.MYSQL_USER, | |
password: process.env.MYSQL_PASSWORD, | |
database: process.env.MYSQL_DATABASE, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment