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 | 29 | 30 | 31 |
Tags
- 자바
- ubuntu
- javascript
- 프래그먼트
- Portfolio
- error
- 번역
- NGINX
- mariadb
- unity
- 개발자
- centOS7
- java
- 구글
- server
- caddy
- 해석
- C
- android
- H2O
- MySQL
- it
- 한글
- php
- 컴퓨터과학총론
- 개발
- techEmpower
- C lanuage
- 안드로이드
- kakao
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 |