이태화

db fixed

...@@ -24,10 +24,10 @@ async function loading(){ ...@@ -24,10 +24,10 @@ async function loading(){
24 } 24 }
25 25
26 var connection = mysql.createConnection({ 26 var connection = mysql.createConnection({
27 - host: "34.64.183.182", 27 + host: "34.69.247.0",
28 user: 'root', 28 user: 'root',
29 - password: '', 29 + password: 'kcss3711',
30 - database: 'KhuNotice' 30 + database: 'khuNotice'
31 }) 31 })
32 32
33 connection.connect(); 33 connection.connect();
......
...@@ -3,10 +3,10 @@ const mysql = require("mysql"); ...@@ -3,10 +3,10 @@ const mysql = require("mysql");
3 3
4 var noticeList = async function(req,res){ 4 var noticeList = async function(req,res){
5 var connection = mysql.createConnection({ 5 var connection = mysql.createConnection({
6 - host: "34.64.183.182", 6 + host: "34.69.247.0",
7 user: 'root', 7 user: 'root',
8 - password: '', 8 + password: 'kcss3711',
9 - database: 'KhuNotice' 9 + database: 'khuNotice'
10 }); 10 });
11 connection.connect(); 11 connection.connect();
12 12
......
...@@ -24,10 +24,10 @@ async function loading(){ ...@@ -24,10 +24,10 @@ async function loading(){
24 } 24 }
25 25
26 var connection = mysql.createConnection({ 26 var connection = mysql.createConnection({
27 - host: "34.64.183.182", 27 + host: "34.69.247.0",
28 user: 'root', 28 user: 'root',
29 - password: '', 29 + password: 'kcss3711',
30 - database: 'KhuNotice' 30 + database: 'khuNotice'
31 }) 31 })
32 32
33 connection.connect(); 33 connection.connect();
......