Showing
1 changed file
with
3 additions
and
3 deletions
1 | var mysql = require('mysql'); | 1 | var mysql = require('mysql'); |
2 | 2 | ||
3 | var database = mysql.createConnection({ | 3 | var database = mysql.createConnection({ |
4 | - host: "culturegallery.cm2bwcuyukrm.us-east-1.rds.amazonaws.com", | 4 | + host: process.env.HOST, |
5 | - user: "root", | 5 | + user: process.env.USER, |
6 | - password: "dldbwp1207", | 6 | + password: process.env.PASSWORD, |
7 | port: 3306, | 7 | port: 3306, |
8 | database: "showdata" | 8 | database: "showdata" |
9 | }); | 9 | }); | ... | ... |
-
Please register or login to post a comment