DB/MySQL

    [MySQL] Nodejs 연동 시 에러 "Client does not support

    [MySQL] Nodejs 연동 시 에러 "Client does not support

    * 샘플 코드 사용한 코드는 아래와 같습니다. (예제 링크) // test-mysql.js 파일 var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'host-IP', user : 'root', password : 'Xptmxm1212!@', database : 'my-Database' }); connection.connect(); connection.query('select * from sample_table', function (error, results, fields) { if (error){ console.log(error); } console.log(results); }); connection.end(); ..

    [MySQL] Could not acquire management access for administration에러 해결

    [MySQL] Could not acquire management access for administration에러 해결

    Could not acquire management access for administration RuntimeError: Unalbe to execute command chcp. Please make sure that the C:\Windows\System32 directory is in your PATH environment variable. 그래서 죽어버린 서비스를 살리기 위해 실행(cmd+r)을 켠 뒤 services.msc를 입력하여 서비스를 확인해보았다. MySQL80이 시작 유형은 자동, 상태는 공백으로 되어 있었다. 그래서 MySQL80을 오른쪽 클릭하여 시작을 눌러주었다. 이젠 workbench로 접속했을 때, 비밀번호를 묻는 창이 정상적으로 나타나고 비밀번호를 입력 그랬더니 스키마가 정..