MySql DB 추가 # npm init # npm install mysql //main.js const mysql = require("mysql"); const connection = mysql.createConnection({ host: "3.35.151.156", port: "58975", user: "root", password: "root", database: "nodejs" }); connection.connect();//데이터베이스 접속 const name = "monica"; const age = 19; //CRUD 1. Create: 데이터베이스를 생성하여 데이터베이스에 저장하는 작업 //INSERT INTO [테이블명] (컬럼명1, 컬럼명2, ...) VALUES (값1, 값2, .....