티스토리 뷰

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
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/07   »
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
글 보관함