MySQL 관련 주요 팁 (feat. Node.js)
2015. 7. 26. 20:37ㆍ서버 프로그래밍
MySQL의 기본 인코딩을 UTF-8로 지정하기
MySQL charset 설정 확인 방법
MySQL 페이징쿼리 구현하기
MySQL 테이블 생성시 DATETIME 타입에 DEFAULT로 현재 시간 입력하기
http://jsonobject.tistory.com/122
MySQL Insert시 중복 체크하기
http://do0park.blog.me/40134359319
Node.js+MySQL 연동시 타임 아웃 문제 처리 방법
http://ellehu.com/board_qfTg01/2624
MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
Execute the following query in MYSQL Workbench
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'
Where root
as your user localhost
as your URL and password
as your password
Then run this query to refresh privileges:
flush privileges;
Try connecting using node after you do so.
If that doesn't work, try it without @'localhost'
part.