Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- android
- H2O
- unity
- 컴퓨터과학총론
- centOS7
- 안드로이드
- caddy
- 번역
- php
- mariadb
- server
- 해석
- C
- Portfolio
- ubuntu
- 개발
- 자바
- javascript
- NGINX
- MySQL
- error
- 한글
- techEmpower
- kakao
- 프래그먼트
- C lanuage
- it
- 구글
- 개발자
- java
Archives
- Today
- Total
개발모음집
Unhandled rejection SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client 본문
Server/node.js
Unhandled rejection SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client
void 2019. 12. 2. 10:00$ create database PORTFOLIO default character set utf8;
$ grant select, insert, update,delete on PORTFOLIO.* to 'void'@'%';
$ FLUSH PRIVILEGES
$ show grants for void@'%';
Sequelize로 mysql에 접근하려고 했다.
> 발생한 에러
Unhandled rejection SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client
> 해결법
$ ALTER USER root IDENTIFIED WITH mysql_native_password BY 'password';
Your password does not satisfy the current policy requirements
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
=> 비밀번호가 정책에 비해 안전하지 않다는 것이다.
> 해결법
비밀번호를 정책에 따라 비밀번호를 어렵게 쓰면 된다.
$ SHOW VARIABLES LIKE 'validate_password%'
'Server > node.js' 카테고리의 다른 글
Passing chat data from socket.io client to socket.io server (0) | 2019.12.18 |
---|---|
TypeError: Router.use() requires a middleware function but got a Object (0) | 2019.12.17 |
express "How to increment integer attribute" (0) | 2019.12.16 |
Error: Include unexpected. Element has to be either a Model, an Association or an object (0) | 2019.12.02 |
nodejs https (0) | 2019.06.29 |