wsl2

    [MySql] WSL2에서 MySQL 설치 및 실행하는 법

    MySQL 설치 WSL2 터미널에서 아래 명령어로 Ubuntu 패키지를 업데이트합니다. sudo apt update 아래 명령어로 mysql을 설치합니다. sudo apt install mysql-server 설치확인하고 버전 번호를 확인합니다. mysql --version MySQL 시작 해당 명령어로 mysql을 실행합니다. sudo /etc/init.d/mysql start 위 명령어를 실행한 후에 아래와 같은 에러가 발생한다면 su: warning: cannot change directory to /nonexistent: No such file or directory 아래와 같이 명령어를 실행해줍니다. (리눅스OS에 따라 상이) # Ubuntu sudo service mysql stop sudo ..

    [wsl2] Failed to connect to the remote extension host server(Error: Websocket close with status code 1006)

    wsl2를 이용하여 평소와 같이 vscode를 실행시키다가 다음과 같은 에러가 나왔습니다. Failed to connect to the remote extension host server (Error: Websocket close with status code 1006) [해결] wsl --shutdown Windows Powershell에 위 명령어로 wsl을 종료한다음 다시 wsl을 실행하면 됩니다. wsl에서 명령어를 쓰는게 아니고 Windows Powershell에서 실행시키셔야합니다