mysql (2) 썸네일형 리스트형 MySQL Workbench에서 update 실행 시 1175 에러 MySQL Workbench에서 update나 delete 명령 실행 시 Error Code 1175가 떨어지는 경우가 있다. Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Queries and reconnect. 이 에러는 WHERE 절에 KEY (INDEX) 칼럼이 조건으로 들어가지 않은 경우게 발생한다. 이를 해결하기 위해서는 WHERE절에 KEY(INDEX) 컬럼을 조건으로 넣어주거나 아래 환경변수를 설정해 주면해결된다. .. [MYSQL] node.js에서 mysql 연결하기 mysql 모듈 Node.js에서 mysql 데이터베이스를 사용하려면 mysql 3rd party 모듈을 설치 해야 한다. npm install mysql 예제1 var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'localhost', user : 'root', password: '1234' }); connection.connect(function(err){ if (err){ console.log('mysql connection is fail '); console.log(err); throw err; } else { console.log('mysql connection is success'); } }); conne.. 이전 1 다음