본문 바로가기 메뉴 바로가기

Data Makes Our Future

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Data Makes Our Future

검색하기 폼
  • 분류 전체보기 (749)
    • Data (18)
      • Statistics (10)
      • Analysis (8)
    • SQL (24)
      • Organize (3)
      • Install (2)
    • R (58)
      • Collection (4)
      • Process (33)
      • Analysis (11)
      • Visualize (4)
      • Install (3)
    • Python (56)
      • Collection (10)
      • Process (27)
      • Visualize (2)
      • Install (3)
    • Web (167)
      • API (16)
      • Spring (58)
      • JAVA (49)
      • Infra (14)
    • PS (366)
      • Algorithm (45)
      • Problem_Solving (311)
      • PS_Note (7)
    • Books (35)
    • ADsP (4)
    • eTc (17)
    • AI (4)
  • 방명록

createConnection (1)
[Node.js] mySQL 연동

.Install mySQL module from npm- mySQL module 설치 npm i mysql .mySQL 연동 123456789101112131415161718var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'localhost', user : '', password : '', database : 'fintech'}); connection.connect(); var query = 'select * from fintech.user'connection.query(query, function (error, results, fields) { if (error) throw error; console.log('..

Web 2020. 6. 22. 14:58
이전 1 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
링크
  • Gitbook
  • resume
Total
Today
Yesterday
TAG
  • 시뮬레이션
  • DFS
  • PYTHON
  • C
  • coding
  • spring
  • java
  • BOJ
  • dp
  • c++
  • R
  • DATA
  • 백준
  • Algorithm
  • BFS
more

Blog is powered by Tistory / Designed by Tistory

티스토리툴바