TIL

TIL 220908 서버 설치하면서 발견한 오류들

2021bong 2022. 9. 9. 03:27

command not found: dbmate

dbmate up을 설치했는데도 안돼서 글로벌로 설치했더니 해결 됐다.

 


Error: unsupported driver

MissingDriverError: Wrong driver: "undefined" given.

 

 

.env파일에서 변수를 사용하고 있었는데 .env파일명이 .env.test로 되어있었고, 안에 변수에 값도 내 상황과는 달라서 수정해서 해결했다.

 


Error during Data Source initialization Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

mysql에 들어가서 명령어를 입력해서 해결했다.

ALTER USER '[계정]'@'[호스트]' IDENTIFIED WITH mysql_native_password BY '[비밀번호]';

// 예시
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '1234';

node:events:368 - unhandled error

터미널하고 vscode 터미널하고 동시에 켜서 쓰고 있었는데 vscode에서 서버를 실행하고 에러난 상태에서 종료를 안해주고 터미널에서 실행했더니 에러가 났다. 하나를 종료해주고 실행했더니 해결 됐다.

728x90