728x90
반응형

IT/개발 28

.bat file과 .exe file 예시 및 차이, 장점과 단점

1. BAT 파일 (Batch 파일)BAT 파일은 "배치 파일"의 약자로, 주로 명령어 인터프리터인 DOS나 Windows의 커맨드 프롬프트(cmd.exe)에서 실행할 수 있는 스크립트 파일이다. 확장자는 .bat 또는 .cmd로 사용됩니다. BAT 파일은 순차적으로 명령어들을 작성하여 하나의 자동화된 작업을 수행하는데 유용하다.BAT 파일 코드 예시(backup.bat)@echo off xcopy "C:\Users\사용자명\Documents" "D:\Backup" /s /e /h /y echo 백업 완료! pause "C:\Users\사용자명\Documents" 폴더의 모든 파일과 하위 폴더를 "D:\Backup" 폴더로 복사**(/s: 하위 폴더 포함, /e: 비어 있는 폴더 포함, /h: 숨김 파일..

IT/개발 2024.11.13

MySQL connection failed: Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client 해결 2

MySQL connection failed:  Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client    at Sequence._packetToError (/Users/user/Desktop/ManuServer/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)    at Handshake.ErrorPacket (/Users/user/Desktop/ManuServer/node_modules/mysql/lib/protocol/sequences/Handshake.j..

IT/개발 2024.05.09

User Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client 해결 1

MySQL과 Node.js 를 연동하려고 할 때 해당 에러가 발생User Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL clientMySQL 8.0에서는 MySQL 패스워드 플러그인 "caching_sha2_password" 때문에 에러발생아래와 같이 mysql.user를 보니plugin이 caching_sha2_password로 되어있다. 그래서 ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root'를 입력 해 플러그인을 바꿔주면 정상 작동 확인이 가능..

IT/개발 2024.05.08

[Mac] .net 설치 for mac

macOS에서 .NET을 설치하는 방법에 대한 간단한 설명해보자1. 아래 링크로 접속https://learn.microsoft.com/ko-kr/dotnet/core/install/macos macOS에 .NET 설치 - .NET.NET을 설치할 수 있는 macOS 버전에 대해 알아봅니다.learn.microsoft.com 2. .NET 다운로드 클릭 3. 버전 선택해 Arm64(M1), x64(Intel) 다운로드  4. 다운로드 후 설치 5. 설치 후 잘 설치되었다면 버전확인(  dotnet --version ) 버전이 나온다면 잘 설치되었다는 뜻이다.

IT/개발 2024.05.08

[Mac] node.js 설치 for Mac

Node.js는 JavaScript 런타임 환경으로, 서버 측 애플리케이션을 개발하는 데 널리 사용된다.1. Homebrew 설치https://jeces.tistory.com/168 [Mac] 맥북 Homebrew 홈브류 설치Homebrew는 macOS에서 패키지 설치 및 관리를 쉽게 해주는 패키지 관리 프로그램개발자, 연구원, 혹은 단순히 맥북을 더 효율적으로 사용하고 싶은 사용자들에게 필수적인 도구로 사용 1. Homebrew 웹jeces.tistory.comMac에 Node.js를 설치하기 위해 Homebrew를 사용해야하므로 설치가 안되어있다면 위 링크로 설치진행.1.1 터미널에서 [brew install node] 입력 후 설치진행 2. 홈페이지에서 Node.js 설치https://nodejs...

IT/개발 2024.05.02
728x90
반응형